#E2CF92#E2CF92

#E2CF92 is a very light, moderate yellow. Relative luminance 0.629; OKLCH L 85.6% C 0.081 H 92.8°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#E2CF92
RGBrgb(226, 207, 146)
HSLhsl(46, 58%, 73%)
HSVhsv(46, 35%, 89%)
CMYKcmyk(0%, 8.4%, 35.4%, 11.4%)
CIE-LABlab(83.37, -2.14, 32.75)
CIE-LCHlch(83.37, 32.82, 93.74°)
OKLaboklab(85.6% -0.004 0.0814)
OKLCHoklch(85.6% 0.081 92.8)
XYZxyz(58.8662, 62.8716, 36.2231)
Luminance0.6287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF92 #92A5E2
analogous
#E2A792 #E2CF92 #CDE292
triadic
#E2CF92 #92E2CF #CF92E2
tetradic
#E2CF92 #92E2A7 #92A5E2 #E292CD
square
#E2CF92 #92E2A7 #92A5E2 #E292CD
split-complementary
#E2CF92 #92CDE2 #A792E2
monochromatic
#C5A334 #D5BA62 #E2CF92 #EFE4C2 #F9F4E7

Accessibility & contrast

On white

1.55
#E2CF92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#E2CF92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF92
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF92#FFFFFF#000000##000000
##E2CF921.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC8E
Deuteranopia (green-blind)
#E1D294
Tritanopia (blue-blind)
#EEC6BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2cf92;
/* rgb */ color: rgb(226, 207, 146);
/* oklch */ color: oklch(85.6% 0.081 92.8);
Tailwind
colors: {
  custom: {
    50: '#ecddb2',
    500: '#e2cf92',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf92;
$custom-light: #ecddb2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf92",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 146
  },
  "hsl": {
    "h": 45.75,
    "s": 57.971,
    "l": 72.941
  },
  "oklch": {
    "l": 0.85598,
    "c": 0.08146,
    "h": 92.8
  },
  "luminance": 0.6287
}

Semantic roles & 50–950 ramp

primary
#E2CF92
secondary
#5D74BB
accent
#47C620
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2CF92

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E2CF92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva