#E0CA51#E0CA51

#E0CA51 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.5% C 0.141 H 99.0°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#E0CA51
RGBrgb(224, 202, 81)
HSLhsl(51, 70%, 60%)
HSVhsv(51, 64%, 88%)
CMYKcmyk(0%, 9.8%, 63.8%, 12.2%)
CIE-LABlab(81.12, -6.17, 61.25)
CIE-LCHlch(81.12, 61.56, 95.75°)
OKLaboklab(83.51% -0.0219 0.1392)
OKLCHoklch(83.51% 0.141 99)
XYZxyz(53.3485, 58.6848, 16.3002)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CA51 #5167E0
analogous
#E08251 #E0CA51 #AFE051
triadic
#E0CA51 #51E0CA #CA51E0
tetradic
#E0CA51 #51E082 #5167E0 #E051AF
square
#E0CA51 #51E082 #5167E0 #E051AF
split-complementary
#E0CA51 #51AFE0 #8251E0
monochromatic
#9B871C #CFB525 #E0CA51 #E9DA85 #F3EAB9

Accessibility & contrast

On white

1.65
#E0CA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#E0CA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CA51
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CA51#FFFFFF#000000##000000
##E0CA511.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#E2CD57
Tritanopia (blue-blind)
#F1BCB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e0ca51;
/* rgb */ color: rgb(224, 202, 81);
/* oklch */ color: oklch(83.5% 0.141 99.0);
Tailwind
colors: {
  custom: {
    50: '#edd987',
    500: '#e0ca51',
    950: '#000000',
  },
}
SCSS
$custom: #e0ca51;
$custom-light: #edd987;
$custom-dark: #000000;
JSON
{
  "hex": "#e0ca51",
  "rgb": {
    "r": 224,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 50.769,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83514,
    "c": 0.1409,
    "h": 99
  },
  "luminance": 0.58682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E0CA51

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

Preview Lab → · Contrast checker → · Palette generator →

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