#EACC54#EACC54

#EACC54 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.9% C 0.141 H 95.1°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#EACC54
RGBrgb(234, 204, 84)
HSLhsl(48, 78%, 62%)
HSVhsv(48, 64%, 92%)
CMYKcmyk(0%, 12.8%, 64.1%, 8.2%)
CIE-LABlab(82.55, -2.83, 61.77)
CIE-LCHlch(82.55, 61.84, 92.62°)
OKLaboklab(84.87% -0.0126 0.1405)
OKLCHoklch(84.87% 0.141 95.1)
XYZxyz(57.1274, 61.3211, 17.2129)
Luminance0.6132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EACC54 #5472EA
analogous
#EA8154 #EACC54 #BDEA54
triadic
#EACC54 #54EACC #CC54EA
tetradic
#EACC54 #54EA81 #5472EA #EA54BD
square
#EACC54 #54EA81 #5472EA #EA54BD
split-complementary
#EACC54 #54BDEA #8154EA
monochromatic
#AE9015 #E3BC1D #EACC54 #F1DC8B #F7EDC1

Accessibility & contrast

On white

1.58
#EACC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#EACC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EACC54
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EACC54#FFFFFF#000000##000000
##EACC541.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C846
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#FCBDB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eacc54;
/* rgb */ color: rgb(234, 204, 84);
/* oklch */ color: oklch(84.9% 0.141 95.1);
Tailwind
colors: {
  custom: {
    50: '#f4db89',
    500: '#eacc54',
    950: '#000000',
  },
}
SCSS
$custom: #eacc54;
$custom-light: #f4db89;
$custom-dark: #000000;
JSON
{
  "hex": "#eacc54",
  "rgb": {
    "r": 234,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 48,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84867,
    "c": 0.14103,
    "h": 95.1
  },
  "luminance": 0.61318
}

Semantic roles & 50–950 ramp

primary
#EACC54
secondary
#334CAF
accent
#35DA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EACC54

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

Preview Lab → · Contrast checker → · Palette generator →

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