#E2D56B#E2D56B

#E2D56B is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.2% C 0.128 H 102.4°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#E2D56B
RGBrgb(226, 213, 107)
HSLhsl(53, 67%, 65%)
HSVhsv(53, 53%, 89%)
CMYKcmyk(0%, 5.8%, 52.7%, 11.4%)
CIE-LABlab(84.39, -9.08, 53.34)
CIE-LCHlch(84.39, 54.10, 99.66°)
OKLaboklab(86.23% -0.0275 0.1254)
OKLCHoklch(86.23% 0.128 102.4)
XYZxyz(57.8139, 64.8208, 23.3733)
Luminance0.6482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D56B #6B78E2
analogous
#E2996B #E2D56B #B4E26B
triadic
#E2D56B #6BE2D5 #D56BE2
tetradic
#E2D56B #6BE299 #6B78E2 #E26BB4
square
#E2D56B #6BE299 #6B78E2 #E26BB4
split-complementary
#E2D56B #6BB4E2 #996BE2
monochromatic
#B0A123 #D8C638 #E2D56B #ECE49E #F6F2D1

Accessibility & contrast

On white

1.50
#E2D56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#E2D56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D56B
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D56B#FFFFFF#000000##000000
##E2D56B1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF61
Deuteranopia (green-blind)
#E9D570
Tritanopia (blue-blind)
#F1C9BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d56b;
/* rgb */ color: rgb(226, 213, 107);
/* oklch */ color: oklch(86.2% 0.128 102.4);
Tailwind
colors: {
  custom: {
    50: '#ede198',
    500: '#e2d56b',
    950: '#000000',
  },
}
SCSS
$custom: #e2d56b;
$custom-light: #ede198;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d56b",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 107
  },
  "hsl": {
    "h": 53.445,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86231,
    "c": 0.12833,
    "h": 102.4
  },
  "luminance": 0.64819
}

Semantic roles & 50–950 ramp

primary
#E2D56B
secondary
#404CB1
accent
#2BCF16
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2D56B

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

Preview Lab → · Contrast checker → · Palette generator →

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