#E2CD5F#E2CD5F

#E2CD5F is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.5% C 0.132 H 98.6°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#E2CD5F
RGBrgb(226, 205, 95)
HSLhsl(50, 69%, 63%)
HSVhsv(50, 58%, 89%)
CMYKcmyk(0%, 9.3%, 58%, 11.4%)
CIE-LABlab(82.20, -5.94, 56.33)
CIE-LCHlch(82.20, 56.65, 96.02°)
OKLaboklab(84.45% -0.0198 0.1305)
OKLCHoklch(84.45% 0.132 98.6)
XYZxyz(55.2630, 60.6600, 19.6218)
Luminance0.6066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD5F #5F74E2
analogous
#E28C5F #E2CD5F #B5E25F
triadic
#E2CD5F #5FE2CD #CD5FE2
tetradic
#E2CD5F #5FE28C #5F74E2 #E25FB5
square
#E2CD5F #5FE28C #5F74E2 #E25FB5
split-complementary
#E2CD5F #5FB5E2 #8C5FE2
monochromatic
#A8921E #D9BD2B #E2CD5F #EBDD93 #F5EDC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CD5F#FFFFFF#000000##000000
##E2CD5F1.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)
#DFC854
Deuteranopia (green-blind)
#E4D064
Tritanopia (blue-blind)
#F2C0B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd5f;
/* rgb */ color: rgb(226, 205, 95);
/* oklch */ color: oklch(84.5% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#eedc90',
    500: '#e2cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd5f;
$custom-light: #eedc90;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd5f",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 50.382,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8445,
    "c": 0.13202,
    "h": 98.6
  },
  "luminance": 0.60658
}

Semantic roles & 50–950 ramp

primary
#E2CD5F
secondary
#3B4DAA
accent
#33D114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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