#E2CF4D#E2CF4D

#E2CF4D is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.7% C 0.148 H 100.9°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E2CF4D
RGBrgb(226, 207, 77)
HSLhsl(52, 72%, 59%)
HSVhsv(52, 66%, 89%)
CMYKcmyk(0%, 8.4%, 65.9%, 11.4%)
CIE-LABlab(82.56, -8.11, 64.47)
CIE-LCHlch(82.56, 64.98, 97.17°)
OKLaboklab(84.69% -0.028 0.1453)
OKLCHoklch(84.69% 0.148 100.9)
XYZxyz(55.0187, 61.3326, 15.9600)
Luminance0.6133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF4D #4D60E2
analogous
#E2854D #E2CF4D #ABE24D
triadic
#E2CF4D #4DE2CF #CF4DE2
tetradic
#E2CF4D #4DE285 #4D60E2 #E24DAB
square
#E2CF4D #4DE285 #4D60E2 #E24DAB
split-complementary
#E2CF4D #4DABE2 #854DE2
monochromatic
#9B8B19 #D0BA22 #E2CF4D #EBDD82 #F3EBB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CF4D#FFFFFF#000000##000000
##E2CF4D1.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)
#E2C93C
Deuteranopia (green-blind)
#E7D154
Tritanopia (blue-blind)
#F3C1B4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cf4d;
/* rgb */ color: rgb(226, 207, 77);
/* oklch */ color: oklch(84.7% 0.148 100.9);
Tailwind
colors: {
  custom: {
    50: '#efdd85',
    500: '#e2cf4d',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf4d;
$custom-light: #efdd85;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf4d",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 52.349,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84686,
    "c": 0.14802,
    "h": 100.9
  },
  "luminance": 0.6133
}

Semantic roles & 50–950 ramp

primary
#E2CF4D
secondary
#34429F
accent
#50EF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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