#EACC4F#EACC4F

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

Color values

HEX#EACC4F
RGBrgb(234, 204, 79)
HSLhsl(48, 79%, 61%)
HSVhsv(48, 66%, 92%)
CMYKcmyk(0%, 12.8%, 66.2%, 8.2%)
CIE-LABlab(82.51, -3.12, 63.83)
CIE-LCHlch(82.51, 63.90, 92.80°)
OKLaboklab(84.82% -0.014 0.1441)
OKLCHoklch(84.82% 0.145 95.6)
XYZxyz(56.9385, 61.2456, 16.2181)
Luminance0.6124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EACC4F #4F6DEA
analogous
#EA7F4F #EACC4F #BBEA4F
triadic
#EACC4F #4FEACC #CC4FEA
tetradic
#EACC4F #4FEA7F #4F6DEA #EA4FBB
square
#EACC4F #4FEA7F #4F6DEA #EA4FBB
split-complementary
#EACC4F #4FBBEA #7F4FEA
monochromatic
#AA8D14 #E1BB1B #EACC4F #F1DC86 #F7ECBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EACC4F#FFFFFF#000000##000000
##EACC4F1.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eacc4f;
/* rgb */ color: rgb(234, 204, 79);
/* oklch */ color: oklch(84.8% 0.145 95.6);
Tailwind
colors: {
  custom: {
    50: '#f4db86',
    500: '#eacc4f',
    950: '#000000',
  },
}
SCSS
$custom: #eacc4f;
$custom-light: #f4db86;
$custom-dark: #000000;
JSON
{
  "hex": "#eacc4f",
  "rgb": {
    "r": 234,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 48.387,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84822,
    "c": 0.14473,
    "h": 95.6
  },
  "luminance": 0.61243
}

Semantic roles & 50–950 ramp

primary
#EACC4F
secondary
#3249AC
accent
#33DB0B
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #EACC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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