#EAC951#EAC951

#EAC951 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.2% C 0.141 H 93.7°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#EAC951
RGBrgb(234, 201, 81)
HSLhsl(47, 78%, 62%)
HSVhsv(47, 65%, 92%)
CMYKcmyk(0%, 14.1%, 65.4%, 8.2%)
CIE-LABlab(81.76, -1.47, 62.21)
CIE-LCHlch(81.76, 62.22, 91.35°)
OKLaboklab(84.24% -0.0091 0.1409)
OKLCHoklch(84.24% 0.141 93.7)
XYZxyz(56.3063, 59.8628, 16.3719)
Luminance0.5986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAC951 #5172EA
analogous
#EA7D51 #EAC951 #BFEA51
triadic
#EAC951 #51EAC9 #C951EA
tetradic
#EAC951 #51EA7D #5172EA #EA51BF
square
#EAC951 #51EA7D #5172EA #EA51BF
split-complementary
#EAC951 #51BFEA #7D51EA
monochromatic
#AC8B15 #E2B81B #EAC951 #F1DA88 #F7EBBE

Accessibility & contrast

On white

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

On black

12.97
#EAC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAC951
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAC951#FFFFFF#000000##000000
##EAC9511.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eac951;
/* rgb */ color: rgb(234, 201, 81);
/* oklch */ color: oklch(84.2% 0.141 93.7);
Tailwind
colors: {
  custom: {
    50: '#f4d987',
    500: '#eac951',
    950: '#000000',
  },
}
SCSS
$custom: #eac951;
$custom-light: #f4d987;
$custom-dark: #000000;
JSON
{
  "hex": "#eac951",
  "rgb": {
    "r": 234,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 47.059,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84237,
    "c": 0.14121,
    "h": 93.7
  },
  "luminance": 0.5986
}

Semantic roles & 50–950 ramp

primary
#EAC951
secondary
#324DAD
accent
#38DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EAC951

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

Preview Lab → · Contrast checker → · Palette generator →

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