#EAC851#EAC851

#EAC851 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 84.0% C 0.141 H 93.1°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#EAC851
RGBrgb(234, 200, 81)
HSLhsl(47, 78%, 62%)
HSVhsv(47, 65%, 92%)
CMYKcmyk(0%, 14.5%, 65.4%, 8.2%)
CIE-LABlab(81.51, -0.95, 61.94)
CIE-LCHlch(81.51, 61.94, 90.88°)
OKLaboklab(84.04% -0.0076 0.1404)
OKLCHoklch(84.04% 0.141 93.1)
XYZxyz(56.0739, 59.3981, 16.2944)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAC851 #5173EA
analogous
#EA7C51 #EAC851 #BFEA51
triadic
#EAC851 #51EAC8 #C851EA
tetradic
#EAC851 #51EA7C #5173EA #EA51BF
square
#EAC851 #51EA7C #5173EA #EA51BF
split-complementary
#EAC851 #51BFEA #7C51EA
monochromatic
#AC8A15 #E2B61B #EAC851 #F1D988 #F7EBBE

Accessibility & contrast

On white

1.63
#EAC851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#EAC851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAC851
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAC851#FFFFFF#000000##000000
##EAC8511.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eac851;
/* rgb */ color: rgb(234, 200, 81);
/* oklch */ color: oklch(84.0% 0.141 93.1);
Tailwind
colors: {
  custom: {
    50: '#f4d887',
    500: '#eac851',
    950: '#000000',
  },
}
SCSS
$custom: #eac851;
$custom-light: #f4d887;
$custom-dark: #000000;
JSON
{
  "hex": "#eac851",
  "rgb": {
    "r": 234,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 46.667,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84036,
    "c": 0.14055,
    "h": 93.1
  },
  "luminance": 0.59395
}

Semantic roles & 50–950 ramp

primary
#EAC851
secondary
#324EAD
accent
#39DB0B
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #EAC851

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

Preview Lab → · Contrast checker → · Palette generator →

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