#FFE7B7

A color in the Orange, Brown family

#ffe7b7 is a color in the Orange, Brown family: RGB(255, 231, 183), HSL(40°, 100%, 86%), CMYK(0%, 9%, 28%, 0%). Closest named color: moccasin. Contrast is 1.21:1 on white and 17.37:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ffe7b7
RGBrgb(255 231 183)
RGB (legacy)rgb(255, 231, 183)
RGB %rgb(100% 91% 72%)
HSLhsl(40 100% 86%)
HSV / HSBhsv(40, 28%, 100%)
HWBhwb(40 72% 0%)
CMYKcmyk(0%, 9%, 28%, 0%)
CIELAB (D50)lab(92.75 3.31 26.6)
LCHlch(92.75 26.81 82.91)
OKLaboklab(0.9359 0.0065 0.0669)
OKLCHoklch(0.9359 0.0672 84.46)
Decimal16770999

Properties

Color ToneOrange, Brown
Closest named colormoccasin ΔE 0.7
Closest web-safe color#ffffcc
Hue40°
Saturation (HSL / HSV)100% / 28%
Lightness (HSL)86%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)91% / 91%
Relative luminance (WCAG)0.8183
Red / Green / Blue255 / 231 / 183

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
17.37:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 10.2 / -93.9 · As background with white / black text: Lc -11.9 / 93.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ffe7b7;
  --color-brand-oklch: oklch(93.59% 0.0672 84.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(255 231 183 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ffe7b7] text-[#ffe7b7] border-[#ffe7b7]">