#E2CF95#E2CF95

#E2CF95 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.7% C 0.078 H 92.1°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#E2CF95
RGBrgb(226, 207, 149)
HSLhsl(45, 57%, 74%)
HSVhsv(45, 34%, 89%)
CMYKcmyk(0%, 8.4%, 34.1%, 11.4%)
CIE-LABlab(83.42, -1.79, 31.27)
CIE-LCHlch(83.42, 31.32, 93.27°)
OKLaboklab(85.65% -0.0028 0.078)
OKLCHoklch(85.65% 0.078 92.1)
XYZxyz(59.1026, 62.9661, 37.4683)
Luminance0.6296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF95 #95A8E2
analogous
#E2A895 #E2CF95 #CEE295
triadic
#E2CF95 #95E2CF #CF95E2
tetradic
#E2CF95 #95E2A8 #95A8E2 #E295CE
square
#E2CF95 #95E2A8 #95A8E2 #E295CE
split-complementary
#E2CF95 #95CEE2 #A895E2
monochromatic
#C6A336 #D5B965 #E2CF95 #EFE5C5 #F8F4E7

Accessibility & contrast

On white

1.54
#E2CF95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#E2CF95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF95
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF95#FFFFFF#000000##000000
##E2CF951.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCD91
Deuteranopia (green-blind)
#E0D297
Tritanopia (blue-blind)
#EEC6C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2cf95;
/* rgb */ color: rgb(226, 207, 149);
/* oklch */ color: oklch(85.7% 0.078 92.1);
Tailwind
colors: {
  custom: {
    50: '#ecddb4',
    500: '#e2cf95',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf95;
$custom-light: #ecddb4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf95",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 149
  },
  "hsl": {
    "h": 45.195,
    "s": 57.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.85654,
    "c": 0.07801,
    "h": 92.1
  },
  "luminance": 0.62964
}

Semantic roles & 50–950 ramp

primary
#E2CF95
secondary
#6077BB
accent
#49C521
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2CF95

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

Preview Lab → · Contrast checker → · Palette generator →

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