#E2CF59#E2CF59

#E2CF59 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.8% C 0.139 H 100.2°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#E2CF59
RGBrgb(226, 207, 89)
HSLhsl(52, 70%, 62%)
HSVhsv(52, 61%, 89%)
CMYKcmyk(0%, 8.4%, 60.6%, 11.4%)
CIE-LABlab(82.66, -7.37, 59.52)
CIE-LCHlch(82.66, 59.98, 97.06°)
OKLaboklab(84.8% -0.0246 0.1366)
OKLCHoklch(84.8% 0.139 100.2)
XYZxyz(55.4822, 61.5180, 18.4009)
Luminance0.6152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF59 #596CE2
analogous
#E28B59 #E2CF59 #B1E259
triadic
#E2CF59 #59E2CF #CF59E2
tetradic
#E2CF59 #59E28B #596CE2 #E259B1
square
#E2CF59 #59E28B #596CE2 #E259B1
split-complementary
#E2CF59 #59B1E2 #8B59E2
monochromatic
#A4911D #D8BF26 #E2CF59 #EBDE8D #F4EDC1

Accessibility & contrast

On white

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

On black

13.30
#E2CF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF59
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF59#FFFFFF#000000##000000
##E2CF591.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4C
Deuteranopia (green-blind)
#E6D15F
Tritanopia (blue-blind)
#F2C1B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf59;
/* rgb */ color: rgb(226, 207, 89);
/* oklch */ color: oklch(84.8% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#eedd8c',
    500: '#e2cf59',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf59;
$custom-light: #eedd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf59",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 51.679,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84797,
    "c": 0.13879,
    "h": 100.2
  },
  "luminance": 0.61516
}

Semantic roles & 50–950 ramp

primary
#E2CF59
secondary
#3948A6
accent
#2ED213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CF59

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

Preview Lab → · Contrast checker → · Palette generator →

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