#E2CF56#E2CF56

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

Color values

HEX#E2CF56
RGBrgb(226, 207, 86)
HSLhsl(52, 71%, 61%)
HSVhsv(52, 62%, 89%)
CMYKcmyk(0%, 8.4%, 61.9%, 11.4%)
CIE-LABlab(82.63, -7.57, 60.79)
CIE-LCHlch(82.63, 61.26, 97.10°)
OKLaboklab(84.77% -0.0255 0.1389)
OKLCHoklch(84.77% 0.141 100.4)
XYZxyz(55.3588, 61.4686, 17.7509)
Luminance0.6147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF56 #5669E2
analogous
#E28956 #E2CF56 #AFE256
triadic
#E2CF56 #56E2CF #CF56E2
tetradic
#E2CF56 #56E289 #5669E2 #E256AF
square
#E2CF56 #56E289 #5669E2 #E256AF
split-complementary
#E2CF56 #56AFE2 #8956E2
monochromatic
#A2901C #D6BE25 #E2CF56 #EBDE8A #F4EDBE

Accessibility & contrast

On white

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

On black

13.29
#E2CF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF56
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF56#FFFFFF#000000##000000
##E2CF561.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C948
Deuteranopia (green-blind)
#E6D15C
Tritanopia (blue-blind)
#F2C1B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf56;
/* rgb */ color: rgb(226, 207, 86);
/* oklch */ color: oklch(84.8% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#eedd8a',
    500: '#e2cf56',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf56;
$custom-light: #eedd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf56",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 51.857,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84768,
    "c": 0.1412,
    "h": 100.4
  },
  "luminance": 0.61466
}

Semantic roles & 50–950 ramp

primary
#E2CF56
secondary
#3846A5
accent
#2DD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CF56

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

Preview Lab → · Contrast checker → · Palette generator →

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