#E0C951#E0C951

#E0C951 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.140 H 98.4°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#E0C951
RGBrgb(224, 201, 81)
HSLhsl(50, 70%, 60%)
HSVhsv(50, 64%, 88%)
CMYKcmyk(0%, 10.3%, 63.8%, 12.2%)
CIE-LABlab(80.86, -5.66, 60.97)
CIE-LCHlch(80.86, 61.23, 95.30°)
OKLaboklab(83.31% -0.0205 0.1386)
OKLCHoklch(83.31% 0.14 98.4)
XYZxyz(53.1146, 58.2171, 16.2223)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C951 #5168E0
analogous
#E08251 #E0C951 #AFE051
triadic
#E0C951 #51E0C9 #C951E0
tetradic
#E0C951 #51E082 #5168E0 #E051AF
square
#E0C951 #51E082 #5168E0 #E051AF
split-complementary
#E0C951 #51AFE0 #8251E0
monochromatic
#9B871C #CFB425 #E0C951 #E9D985 #F3E9B9

Accessibility & contrast

On white

1.66
#E0C951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#E0C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C951
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C951#FFFFFF#000000##000000
##E0C9511.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#E2CC57
Tritanopia (blue-blind)
#F1BBB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e0c951;
/* rgb */ color: rgb(224, 201, 81);
/* oklch */ color: oklch(83.3% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#edd987',
    500: '#e0c951',
    950: '#000000',
  },
}
SCSS
$custom: #e0c951;
$custom-light: #edd987;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c951",
  "rgb": {
    "r": 224,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 50.35,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83309,
    "c": 0.14009,
    "h": 98.4
  },
  "luminance": 0.58215
}

Semantic roles & 50–950 ramp

primary
#E0C951
secondary
#37479F
accent
#58ED3B
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0C951

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

Preview Lab → · Contrast checker → · Palette generator →

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