#E2CD5E#E2CD5E

#E2CD5E is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.4% C 0.133 H 98.7°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#E2CD5E
RGBrgb(226, 205, 94)
HSLhsl(50, 69%, 63%)
HSVhsv(50, 58%, 89%)
CMYKcmyk(0%, 9.3%, 58.4%, 11.4%)
CIE-LABlab(82.19, -6.01, 56.78)
CIE-LCHlch(82.19, 57.09, 96.04°)
OKLaboklab(84.44% -0.0201 0.1314)
OKLCHoklch(84.44% 0.133 98.7)
XYZxyz(55.2179, 60.6419, 19.3840)
Luminance0.6064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD5E #5E73E2
analogous
#E28B5E #E2CD5E #B5E25E
triadic
#E2CD5E #5EE2CD #CD5EE2
tetradic
#E2CD5E #5EE28B #5E73E2 #E25EB5
square
#E2CD5E #5EE28B #5E73E2 #E25EB5
split-complementary
#E2CD5E #5EB5E2 #8B5EE2
monochromatic
#A7921E #D9BD2A #E2CD5E #EBDD92 #F5EDC6

Accessibility & contrast

On white

1.60
#E2CD5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#E2CD5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD5E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD5E#FFFFFF#000000##000000
##E2CD5E1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC852
Deuteranopia (green-blind)
#E4D063
Tritanopia (blue-blind)
#F2C0B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd5e;
/* rgb */ color: rgb(226, 205, 94);
/* oklch */ color: oklch(84.4% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#eedc8f',
    500: '#e2cd5e',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd5e;
$custom-light: #eedc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd5e",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 94
  },
  "hsl": {
    "h": 50.455,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84439,
    "c": 0.13289,
    "h": 98.7
  },
  "luminance": 0.6064
}

Semantic roles & 50–950 ramp

primary
#E2CD5E
secondary
#3B4CAA
accent
#32D114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2CD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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