#EACC5F#EACC5F

#EACC5F is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 85.0% C 0.132 H 94.0°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#EACC5F
RGBrgb(234, 204, 95)
HSLhsl(47, 77%, 65%)
HSVhsv(47, 59%, 92%)
CMYKcmyk(0%, 12.8%, 59.4%, 8.2%)
CIE-LABlab(82.65, -2.12, 57.04)
CIE-LCHlch(82.65, 57.08, 92.12°)
OKLaboklab(84.98% -0.0093 0.1319)
OKLCHoklch(84.98% 0.132 94)
XYZxyz(57.5926, 61.5072, 19.6627)
Luminance0.6150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EACC5F #5F7DEA
analogous
#EA865F #EACC5F #C3EA5F
triadic
#EACC5F #5FEACC #CC5FEA
tetradic
#EACC5F #5FEA86 #5F7DEA #EA5FC3
square
#EACC5F #5FEA86 #5F7DEA #EA5FC3
split-complementary
#EACC5F #5FC3EA #865FEA
monochromatic
#B79418 #E3BB29 #EACC5F #F1DD95 #F8EECB

Accessibility & contrast

On white

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

On black

13.30
#EACC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EACC5F
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EACC5F#FFFFFF#000000##000000
##EACC5F1.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC854
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#FBBEB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #eacc5f;
/* rgb */ color: rgb(234, 204, 95);
/* oklch */ color: oklch(85.0% 0.132 94.0);
Tailwind
colors: {
  custom: {
    50: '#f4db90',
    500: '#eacc5f',
    950: '#000000',
  },
}
SCSS
$custom: #eacc5f;
$custom-light: #f4db90;
$custom-dark: #000000;
JSON
{
  "hex": "#eacc5f",
  "rgb": {
    "r": 234,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 47.05,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84978,
    "c": 0.1322,
    "h": 94
  },
  "luminance": 0.61504
}

Semantic roles & 50–950 ramp

primary
#EACC5F
secondary
#3752B6
accent
#39D90C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EACC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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