#E2CF51#E2CF51

#E2CF51 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.7% C 0.145 H 100.7°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#E2CF51
RGBrgb(226, 207, 81)
HSLhsl(52, 71%, 60%)
HSVhsv(52, 64%, 89%)
CMYKcmyk(0%, 8.4%, 64.2%, 11.4%)
CIE-LABlab(82.59, -7.88, 62.87)
CIE-LCHlch(82.59, 63.36, 97.14°)
OKLaboklab(84.72% -0.0269 0.1426)
OKLCHoklch(84.72% 0.145 100.7)
XYZxyz(55.1643, 61.3908, 16.7269)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF51 #5164E2
analogous
#E28651 #E2CF51 #ACE251
triadic
#E2CF51 #51E2CF #CF51E2
tetradic
#E2CF51 #51E286 #5164E2 #E251AC
square
#E2CF51 #51E286 #5164E2 #E251AC
split-complementary
#E2CF51 #51ACE2 #8651E2
monochromatic
#9E8D1A #D3BC23 #E2CF51 #EBDD85 #F3ECBA

Accessibility & contrast

On white

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

On black

13.28
#E2CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF51
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF51#FFFFFF#000000##000000
##E2CF511.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#F3C1B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf51;
/* rgb */ color: rgb(226, 207, 81);
/* oklch */ color: oklch(84.7% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#eedd87',
    500: '#e2cf51',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf51;
$custom-light: #eedd87;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf51",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 52.138,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84721,
    "c": 0.14507,
    "h": 100.7
  },
  "luminance": 0.61388
}

Semantic roles & 50–950 ramp

primary
#E2CF51
secondary
#3644A1
accent
#2BD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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