#E0C54E#E0C54E

#E0C54E is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.139 H 96.4°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#E0C54E
RGBrgb(224, 197, 78)
HSLhsl(49, 70%, 59%)
HSVhsv(49, 65%, 88%)
CMYKcmyk(0%, 12.1%, 65.2%, 12.2%)
CIE-LABlab(79.80, -3.78, 61.12)
CIE-LCHlch(79.80, 61.23, 93.54°)
OKLaboklab(82.46% -0.0154 0.1385)
OKLCHoklch(82.46% 0.139 96.4)
XYZxyz(52.0843, 56.3324, 15.3361)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C54E #4E69E0
analogous
#E07C4E #E0C54E #B2E04E
triadic
#E0C54E #4EE0C5 #C54EE0
tetradic
#E0C54E #4EE07C #4E69E0 #E04EB2
square
#E0C54E #4EE07C #4E69E0 #E04EB2
split-complementary
#E0C54E #4EB2E0 #7C4EE0
monochromatic
#99821B #CDAE24 #E0C54E #E9D682 #F2E7B6

Accessibility & contrast

On white

1.71
#E0C54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#E0C54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C54E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C54E#FFFFFF#000000##000000
##E0C54E1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13F
Deuteranopia (green-blind)
#DFCA54
Tritanopia (blue-blind)
#F1B7AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e0c54e;
/* rgb */ color: rgb(224, 197, 78);
/* oklch */ color: oklch(82.5% 0.139 96.4);
Tailwind
colors: {
  custom: {
    50: '#edd685',
    500: '#e0c54e',
    950: '#000000',
  },
}
SCSS
$custom: #e0c54e;
$custom-light: #edd685;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c54e",
  "rgb": {
    "r": 224,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 48.904,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82464,
    "c": 0.13931,
    "h": 96.4
  },
  "luminance": 0.5633
}

Semantic roles & 50–950 ramp

primary
#E0C54E
secondary
#35499D
accent
#5CED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E0C54E

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

Preview Lab → · Contrast checker → · Palette generator →

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