#E2CD56#E2CD56

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

Color values

HEX#E2CD56
RGBrgb(226, 205, 86)
HSLhsl(51, 71%, 61%)
HSVhsv(51, 62%, 89%)
CMYKcmyk(0%, 9.3%, 61.9%, 11.4%)
CIE-LABlab(82.11, -6.55, 60.23)
CIE-LCHlch(82.11, 60.59, 96.21°)
OKLaboklab(84.36% -0.0226 0.1377)
OKLCHoklch(84.36% 0.14 99.3)
XYZxyz(54.8773, 60.5057, 17.5904)
Luminance0.6050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD56 #566BE2
analogous
#E28756 #E2CD56 #B1E256
triadic
#E2CD56 #56E2CD #CD56E2
tetradic
#E2CD56 #56E287 #566BE2 #E256B1
square
#E2CD56 #56E287 #566BE2 #E256B1
split-complementary
#E2CD56 #56B1E2 #8756E2
monochromatic
#A28E1C #D6BB25 #E2CD56 #EBDC8A #F4ECBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CD56#FFFFFF#000000##000000
##E2CD561.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)
#DFC848
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#F2BFB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd56;
/* rgb */ color: rgb(226, 205, 86);
/* oklch */ color: oklch(84.4% 0.140 99.3);
Tailwind
colors: {
  custom: {
    50: '#eedb8a',
    500: '#e2cd56',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd56;
$custom-light: #eedb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd56",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 51,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84357,
    "c": 0.13953,
    "h": 99.3
  },
  "luminance": 0.60503
}

Semantic roles & 50–950 ramp

primary
#E2CD56
secondary
#3848A5
accent
#30D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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