#EACC4A#EACC4A

#EACC4A is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.148 H 96.0°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#EACC4A
RGBrgb(234, 204, 74)
HSLhsl(49, 79%, 60%)
HSVhsv(49, 68%, 92%)
CMYKcmyk(0%, 12.8%, 68.4%, 8.2%)
CIE-LABlab(82.47, -3.39, 65.81)
CIE-LCHlch(82.47, 65.90, 92.95°)
OKLaboklab(84.78% -0.0154 0.1474)
OKLCHoklch(84.78% 0.148 96)
XYZxyz(56.7634, 61.1755, 15.2954)
Luminance0.6117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EACC4A #4A68EA
analogous
#EA7C4A #EACC4A #B8EA4A
triadic
#EACC4A #4AEACC #CC4AEA
tetradic
#EACC4A #4AEA7C #4A68EA #EA4AB8
square
#EACC4A #4AEA7C #4A68EA #EA4AB8
split-complementary
#EACC4A #4AB8EA #7C4AEA
monochromatic
#A68B13 #DDB81A #EACC4A #F0DB81 #F7EBB8

Accessibility & contrast

On white

1.59
#EACC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#EACC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EACC4A
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EACC4A#FFFFFF#000000##000000
##EACC4A1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C838
Deuteranopia (green-blind)
#E8D151
Tritanopia (blue-blind)
#FCBDB1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eacc4a;
/* rgb */ color: rgb(234, 204, 74);
/* oklch */ color: oklch(84.8% 0.148 96.0);
Tailwind
colors: {
  custom: {
    50: '#f5db83',
    500: '#eacc4a',
    950: '#000000',
  },
}
SCSS
$custom: #eacc4a;
$custom-light: #f5db83;
$custom-dark: #000000;
JSON
{
  "hex": "#eacc4a",
  "rgb": {
    "r": 234,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 48.75,
    "s": 79.208,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8478,
    "c": 0.14823,
    "h": 96
  },
  "luminance": 0.61173
}

Semantic roles & 50–950 ramp

primary
#EACC4A
secondary
#3047A8
accent
#31DC0A
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EACC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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