#E2CD55#E2CD55

#E2CD55 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.3% C 0.140 H 99.4°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#E2CD55
RGBrgb(226, 205, 85)
HSLhsl(51, 71%, 61%)
HSVhsv(51, 62%, 89%)
CMYKcmyk(0%, 9.3%, 62.4%, 11.4%)
CIE-LABlab(82.10, -6.62, 60.65)
CIE-LCHlch(82.10, 61.01, 96.22°)
OKLaboklab(84.35% -0.0229 0.1384)
OKLCHoklch(84.35% 0.14 99.4)
XYZxyz(54.8373, 60.4897, 17.3797)
Luminance0.6049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD55 #556AE2
analogous
#E28655 #E2CD55 #B0E255
triadic
#E2CD55 #55E2CD #CD55E2
tetradic
#E2CD55 #55E286 #556AE2 #E255B0
square
#E2CD55 #55E286 #556AE2 #E255B0
split-complementary
#E2CD55 #55B0E2 #8655E2
monochromatic
#A18D1B #D5BB24 #E2CD55 #EBDC89 #F4ECBE

Accessibility & contrast

On white

1.60
#E2CD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#E2CD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD55
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD55#FFFFFF#000000##000000
##E2CD551.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC847
Deuteranopia (green-blind)
#E5D05B
Tritanopia (blue-blind)
#F2BFB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd55;
/* rgb */ color: rgb(226, 205, 85);
/* oklch */ color: oklch(84.3% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#eedb8a',
    500: '#e2cd55',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd55;
$custom-light: #eedb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd55",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 85
  },
  "hsl": {
    "h": 51.064,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84347,
    "c": 0.14032,
    "h": 99.4
  },
  "luminance": 0.60487
}

Semantic roles & 50–950 ramp

primary
#E2CD55
secondary
#3747A4
accent
#2FD313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CD55

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

Preview Lab → · Contrast checker → · Palette generator →

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