#EAC954#EAC954

#EAC954 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.3% C 0.139 H 93.4°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#EAC954
RGBrgb(234, 201, 84)
HSLhsl(47, 78%, 62%)
HSVhsv(47, 64%, 92%)
CMYKcmyk(0%, 14.1%, 64.1%, 8.2%)
CIE-LABlab(81.79, -1.29, 60.95)
CIE-LCHlch(81.79, 60.97, 91.21°)
OKLaboklab(84.26% -0.0082 0.1387)
OKLCHoklch(84.26% 0.139 93.4)
XYZxyz(56.4213, 59.9088, 16.9775)
Luminance0.5991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAC954 #5475EA
analogous
#EA7E54 #EAC954 #C0EA54
triadic
#EAC954 #54EAC9 #C954EA
tetradic
#EAC954 #54EA7E #5475EA #EA54C0
square
#EAC954 #54EA7E #5475EA #EA54C0
split-complementary
#EAC954 #54C0EA #7E54EA
monochromatic
#AE8D15 #E3B81D #EAC954 #F1DA8B #F7EBC1

Accessibility & contrast

On white

1.62
#EAC954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#EAC954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAC954
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAC954#FFFFFF#000000##000000
##EAC9541.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC646
Deuteranopia (green-blind)
#E5D05A
Tritanopia (blue-blind)
#FCBAB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #eac954;
/* rgb */ color: rgb(234, 201, 84);
/* oklch */ color: oklch(84.3% 0.139 93.4);
Tailwind
colors: {
  custom: {
    50: '#f4d989',
    500: '#eac954',
    950: '#000000',
  },
}
SCSS
$custom: #eac954;
$custom-light: #f4d989;
$custom-dark: #000000;
JSON
{
  "hex": "#eac954",
  "rgb": {
    "r": 234,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 46.8,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84264,
    "c": 0.13896,
    "h": 93.4
  },
  "luminance": 0.59906
}

Semantic roles & 50–950 ramp

primary
#EAC954
secondary
#334EAF
accent
#39DA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EAC954

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

Preview Lab → · Contrast checker → · Palette generator →

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