#E2D751#E2D751

#E2D751 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.4% C 0.152 H 104.6°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#E2D751
RGBrgb(226, 215, 81)
HSLhsl(55, 71%, 60%)
HSVhsv(55, 64%, 89%)
CMYKcmyk(0%, 4.9%, 64.2%, 11.4%)
CIE-LABlab(84.67, -11.91, 65.06)
CIE-LCHlch(84.67, 66.14, 100.37°)
OKLaboklab(86.38% -0.0384 0.1472)
OKLCHoklch(86.38% 0.152 104.6)
XYZxyz(57.1518, 65.3658, 17.3894)
Luminance0.6536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D751 #515CE2
analogous
#E28E51 #E2D751 #A5E251
triadic
#E2D751 #51E2D7 #D751E2
tetradic
#E2D751 #51E28E #515CE2 #E251A5
square
#E2D751 #51E28E #515CE2 #E251A5
split-complementary
#E2D751 #51A5E2 #8E51E2
monochromatic
#9E941A #D3C523 #E2D751 #EBE385 #F3EFBA

Accessibility & contrast

On white

1.49
#E2D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#E2D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D751
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D751#FFFFFF#000000##000000
##E2D7511.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#EDD659
Tritanopia (blue-blind)
#F2C9BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d751;
/* rgb */ color: rgb(226, 215, 81);
/* oklch */ color: oklch(86.4% 0.152 104.6);
Tailwind
colors: {
  custom: {
    50: '#eee388',
    500: '#e2d751',
    950: '#000000',
  },
}
SCSS
$custom: #e2d751;
$custom-light: #eee388;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d751",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 55.448,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86377,
    "c": 0.15212,
    "h": 104.6
  },
  "luminance": 0.65364
}

Semantic roles & 50–950 ramp

primary
#E2D751
secondary
#363EA1
accent
#21D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D751

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

Preview Lab → · Contrast checker → · Palette generator →

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