#EACC51#EACC51

#EACC51 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.8% C 0.143 H 95.4°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#EACC51
RGBrgb(234, 204, 81)
HSLhsl(48, 78%, 62%)
HSVhsv(48, 65%, 92%)
CMYKcmyk(0%, 12.8%, 65.4%, 8.2%)
CIE-LABlab(82.53, -3.01, 63.01)
CIE-LCHlch(82.53, 63.09, 92.73°)
OKLaboklab(84.84% -0.0135 0.1426)
OKLCHoklch(84.84% 0.143 95.4)
XYZxyz(57.0124, 61.2751, 16.6073)
Luminance0.6127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EACC51 #516FEA
analogous
#EA8051 #EACC51 #BCEA51
triadic
#EACC51 #51EACC #CC51EA
tetradic
#EACC51 #51EA80 #516FEA #EA51BC
square
#EACC51 #51EA80 #516FEA #EA51BC
split-complementary
#EACC51 #51BCEA #8051EA
monochromatic
#AC8E15 #E2BB1B #EACC51 #F1DC88 #F7ECBE

Accessibility & contrast

On white

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

On black

13.25
#EACC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EACC51
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EACC51#FFFFFF#000000##000000
##EACC511.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C842
Deuteranopia (green-blind)
#E8D157
Tritanopia (blue-blind)
#FCBDB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eacc51;
/* rgb */ color: rgb(234, 204, 81);
/* oklch */ color: oklch(84.8% 0.143 95.4);
Tailwind
colors: {
  custom: {
    50: '#f4db87',
    500: '#eacc51',
    950: '#000000',
  },
}
SCSS
$custom: #eacc51;
$custom-light: #f4db87;
$custom-dark: #000000;
JSON
{
  "hex": "#eacc51",
  "rgb": {
    "r": 234,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 48.235,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8484,
    "c": 0.14328,
    "h": 95.4
  },
  "luminance": 0.61272
}

Semantic roles & 50–950 ramp

primary
#EACC51
secondary
#324AAD
accent
#34DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EACC51

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

Preview Lab → · Contrast checker → · Palette generator →

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