#E2CF55#E2CF55

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

Color values

HEX#E2CF55
RGBrgb(226, 207, 85)
HSLhsl(52, 71%, 61%)
HSVhsv(52, 62%, 89%)
CMYKcmyk(0%, 8.4%, 62.4%, 11.4%)
CIE-LABlab(82.62, -7.63, 61.21)
CIE-LCHlch(82.62, 61.69, 97.11°)
OKLaboklab(84.76% -0.0258 0.1396)
OKLCHoklch(84.76% 0.142 100.5)
XYZxyz(55.3188, 61.4526, 17.5402)
Luminance0.6145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF55 #5568E2
analogous
#E28855 #E2CF55 #AEE255
triadic
#E2CF55 #55E2CF #CF55E2
tetradic
#E2CF55 #55E288 #5568E2 #E255AE
square
#E2CF55 #55E288 #5568E2 #E255AE
split-complementary
#E2CF55 #55AEE2 #8855E2
monochromatic
#A18F1B #D5BE24 #E2CF55 #EBDE89 #F4EDBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CF55#FFFFFF#000000##000000
##E2CF551.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)
#E1C947
Deuteranopia (green-blind)
#E7D15C
Tritanopia (blue-blind)
#F2C1B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf55;
/* rgb */ color: rgb(226, 207, 85);
/* oklch */ color: oklch(84.8% 0.142 100.5);
Tailwind
colors: {
  custom: {
    50: '#eedd8a',
    500: '#e2cf55',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf55;
$custom-light: #eedd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf55",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 51.915,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84758,
    "c": 0.14199,
    "h": 100.5
  },
  "luminance": 0.6145
}

Semantic roles & 50–950 ramp

primary
#E2CF55
secondary
#3746A4
accent
#2DD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CF55

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

Preview Lab → · Contrast checker → · Palette generator →

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