#EAC74F#EAC74F

#EAC74F is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.8% C 0.141 H 92.7°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#EAC74F
RGBrgb(234, 199, 79)
HSLhsl(46, 79%, 61%)
HSVhsv(46, 66%, 92%)
CMYKcmyk(0%, 15%, 66.2%, 8.2%)
CIE-LABlab(81.24, -0.55, 62.49)
CIE-LCHlch(81.24, 62.50, 90.50°)
OKLaboklab(83.82% -0.0067 0.1412)
OKLCHoklch(83.82% 0.141 92.7)
XYZxyz(55.7692, 58.9069, 15.8283)
Luminance0.5890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAC74F #4F72EA
analogous
#EA7A4F #EAC74F #BFEA4F
triadic
#EAC74F #4FEAC7 #C74FEA
tetradic
#EAC74F #4FEA7A #4F72EA #EA4FBF
square
#EAC74F #4FEA7A #4F72EA #EA4FBF
split-complementary
#EAC74F #4FBFEA #7A4FEA
monochromatic
#AA8814 #E1B41B #EAC74F #F1D886 #F7EABC

Accessibility & contrast

On white

1.64
#EAC74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#EAC74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAC74F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAC74F#FFFFFF#000000##000000
##EAC74F1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC440
Deuteranopia (green-blind)
#E4CE55
Tritanopia (blue-blind)
#FCB8AE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #eac74f;
/* rgb */ color: rgb(234, 199, 79);
/* oklch */ color: oklch(83.8% 0.141 92.7);
Tailwind
colors: {
  custom: {
    50: '#f4d786',
    500: '#eac74f',
    950: '#000000',
  },
}
SCSS
$custom: #eac74f;
$custom-light: #f4d786;
$custom-dark: #000000;
JSON
{
  "hex": "#eac74f",
  "rgb": {
    "r": 234,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 46.452,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83818,
    "c": 0.14138,
    "h": 92.7
  },
  "luminance": 0.58904
}

Semantic roles & 50–950 ramp

primary
#EAC74F
secondary
#324DAC
accent
#3ADB0B
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EAC74F

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

Preview Lab → · Contrast checker → · Palette generator →

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