#EACC56#EACC56

#EACC56 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.9% C 0.139 H 95.0°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#EACC56
RGBrgb(234, 204, 86)
HSLhsl(48, 78%, 63%)
HSVhsv(48, 63%, 92%)
CMYKcmyk(0%, 12.8%, 63.2%, 8.2%)
CIE-LABlab(82.57, -2.71, 60.93)
CIE-LCHlch(82.57, 60.99, 92.54°)
OKLaboklab(84.89% -0.012 0.139)
OKLCHoklch(84.89% 0.139 95)
XYZxyz(57.2069, 61.3529, 17.6313)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EACC56 #5674EA
analogous
#EA8256 #EACC56 #BEEA56
triadic
#EACC56 #56EACC #CC56EA
tetradic
#EACC56 #56EA82 #5674EA #EA56BE
square
#EACC56 #56EA82 #5674EA #EA56BE
split-complementary
#EACC56 #56BEEA #8256EA
monochromatic
#B09116 #E3BC20 #EACC56 #F1DC8C #F8EDC3

Accessibility & contrast

On white

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

On black

13.27
#EACC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EACC56
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EACC56#FFFFFF#000000##000000
##EACC561.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C848
Deuteranopia (green-blind)
#E7D15C
Tritanopia (blue-blind)
#FCBDB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eacc56;
/* rgb */ color: rgb(234, 204, 86);
/* oklch */ color: oklch(84.9% 0.139 95.0);
Tailwind
colors: {
  custom: {
    50: '#f4db8a',
    500: '#eacc56',
    950: '#000000',
  },
}
SCSS
$custom: #eacc56;
$custom-light: #f4db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#eacc56",
  "rgb": {
    "r": 234,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 47.838,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84886,
    "c": 0.13949,
    "h": 95
  },
  "luminance": 0.6135
}

Semantic roles & 50–950 ramp

primary
#EACC56
secondary
#344DB0
accent
#35DA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #EACC56

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

Preview Lab → · Contrast checker → · Palette generator →

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