#E2CF49#E2CF49

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

Color values

HEX#E2CF49
RGBrgb(226, 207, 73)
HSLhsl(53, 73%, 59%)
HSVhsv(53, 68%, 89%)
CMYKcmyk(0%, 8.4%, 67.7%, 11.4%)
CIE-LABlab(82.53, -8.33, 66.04)
CIE-LCHlch(82.53, 66.56, 97.19°)
OKLaboklab(84.65% -0.0291 0.148)
OKLCHoklch(84.65% 0.151 101.1)
XYZxyz(54.8818, 61.2778, 15.2390)
Luminance0.6128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF49 #495CE2
analogous
#E28249 #E2CF49 #A8E249
triadic
#E2CF49 #49E2CF #CF49E2
tetradic
#E2CF49 #49E282 #495CE2 #E249A8
square
#E2CF49 #49E282 #495CE2 #E249A8
split-complementary
#E2CF49 #49A8E2 #8249E2
monochromatic
#988818 #CDB821 #E2CF49 #EADD7E #F3EBB3

Accessibility & contrast

On white

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

On black

13.26
#E2CF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF49
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF49#FFFFFF#000000##000000
##E2CF491.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C936
Deuteranopia (green-blind)
#E7D151
Tritanopia (blue-blind)
#F3C1B4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cf49;
/* rgb */ color: rgb(226, 207, 73);
/* oklch */ color: oklch(84.7% 0.151 101.1);
Tailwind
colors: {
  custom: {
    50: '#efdd83',
    500: '#e2cf49',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf49;
$custom-light: #efdd83;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf49",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 73
  },
  "hsl": {
    "h": 52.549,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84654,
    "c": 0.15082,
    "h": 101.1
  },
  "luminance": 0.61275
}

Semantic roles & 50–950 ramp

primary
#E2CF49
secondary
#33409C
accent
#4FEF39
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CF49

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

Preview Lab → · Contrast checker → · Palette generator →

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