#EAC952#EAC952

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

Color values

HEX#EAC952
RGBrgb(234, 201, 82)
HSLhsl(47, 78%, 62%)
HSVhsv(47, 65%, 92%)
CMYKcmyk(0%, 14.1%, 65%, 8.2%)
CIE-LABlab(81.77, -1.41, 61.79)
CIE-LCHlch(81.77, 61.81, 91.30°)
OKLaboklab(84.25% -0.0088 0.1402)
OKLCHoklch(84.25% 0.14 93.6)
XYZxyz(56.3440, 59.8779, 16.5708)
Luminance0.5988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAC952 #5273EA
analogous
#EA7D52 #EAC952 #BFEA52
triadic
#EAC952 #52EAC9 #C952EA
tetradic
#EAC952 #52EA7D #5273EA #EA52BF
square
#EAC952 #52EA7D #5273EA #EA52BF
split-complementary
#EAC952 #52BFEA #7D52EA
monochromatic
#AD8C15 #E3B81C #EAC952 #F1DA89 #F7EBBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EAC952#FFFFFF#000000##000000
##EAC9521.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)
#DDC644
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#FCBAB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #eac952;
/* rgb */ color: rgb(234, 201, 82);
/* oklch */ color: oklch(84.2% 0.140 93.6);
Tailwind
colors: {
  custom: {
    50: '#f4d988',
    500: '#eac952',
    950: '#000000',
  },
}
SCSS
$custom: #eac952;
$custom-light: #f4d988;
$custom-dark: #000000;
JSON
{
  "hex": "#eac952",
  "rgb": {
    "r": 234,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 46.974,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84246,
    "c": 0.14047,
    "h": 93.6
  },
  "luminance": 0.59875
}

Semantic roles & 50–950 ramp

primary
#EAC952
secondary
#334DAE
accent
#38DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EAC952

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

Preview Lab → · Contrast checker → · Palette generator →

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