#E2CD7F#E2CD7F

#E2CD7F is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.9% C 0.101 H 94.8°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E2CD7F
RGBrgb(226, 205, 127)
HSLhsl(47, 63%, 69%)
HSVhsv(47, 44%, 89%)
CMYKcmyk(0%, 9.3%, 43.8%, 11.4%)
CIE-LABlab(82.58, -3.18, 41.40)
CIE-LCHlch(82.58, 41.52, 94.39°)
OKLaboklab(84.87% -0.0084 0.1005)
OKLCHoklch(84.87% 0.101 94.8)
XYZxyz(57.0276, 61.3658, 28.9154)
Luminance0.6136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD7F #7F94E2
analogous
#E29C7F #E2CD7F #C6E27F
triadic
#E2CD7F #7FE2CD #CD7FE2
tetradic
#E2CD7F #7FE29C #7F94E2 #E27FC6
square
#E2CD7F #7FE29C #7F94E2 #E27FC6
split-complementary
#E2CD7F #7FC6E2 #9C7FE2
monochromatic
#BC9D2B #D7BA4D #E2CD7F #EDE0B1 #F9F4E3

Accessibility & contrast

On white

1.58
#E2CD7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#E2CD7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD7F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD7F#FFFFFF#000000##000000
##E2CD7F1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA79
Deuteranopia (green-blind)
#E1D082
Tritanopia (blue-blind)
#F0C2BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cd7f;
/* rgb */ color: rgb(226, 205, 127);
/* oklch */ color: oklch(84.9% 0.101 94.8);
Tailwind
colors: {
  custom: {
    50: '#eddca5',
    500: '#e2cd7f',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd7f;
$custom-light: #eddca5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd7f",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 127
  },
  "hsl": {
    "h": 47.273,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.84873,
    "c": 0.10081,
    "h": 94.8
  },
  "luminance": 0.61364
}

Semantic roles & 50–950 ramp

primary
#E2CD7F
secondary
#4C63BA
accent
#40CB1B
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16150F
muted
#858480

Preview Lab

Preview with #E2CD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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