#E2CF62#E2CF62

#E2CF62 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.9% C 0.131 H 99.5°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#E2CF62
RGBrgb(226, 207, 98)
HSLhsl(51, 69%, 64%)
HSVhsv(51, 57%, 89%)
CMYKcmyk(0%, 8.4%, 56.6%, 11.4%)
CIE-LABlab(82.74, -6.74, 55.59)
CIE-LCHlch(82.74, 56.00, 96.91°)
OKLaboklab(84.89% -0.0217 0.1293)
OKLCHoklch(84.89% 0.131 99.5)
XYZxyz(55.8835, 61.6785, 20.5144)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF62 #6275E2
analogous
#E28F62 #E2CF62 #B5E262
triadic
#E2CF62 #62E2CF #CF62E2
tetradic
#E2CF62 #62E28F #6275E2 #E262B5
square
#E2CF62 #62E28F #6275E2 #E262B5
split-complementary
#E2CF62 #62B5E2 #8F62E2
monochromatic
#AA961F #D8BF2E #E2CF62 #ECDF96 #F5EFC9

Accessibility & contrast

On white

1.57
#E2CF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#E2CF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF62
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF62#FFFFFF#000000##000000
##E2CF621.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA57
Deuteranopia (green-blind)
#E6D167
Tritanopia (blue-blind)
#F2C2B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf62;
/* rgb */ color: rgb(226, 207, 98);
/* oklch */ color: oklch(84.9% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#eedd92',
    500: '#e2cf62',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf62;
$custom-light: #eedd92;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf62",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 98
  },
  "hsl": {
    "h": 51.094,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84893,
    "c": 0.1311,
    "h": 99.5
  },
  "luminance": 0.61676
}

Semantic roles & 50–950 ramp

primary
#E2CF62
secondary
#3C4DAC
accent
#31D115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2CF62

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

Preview Lab → · Contrast checker → · Palette generator →

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