#E9C74F#E9C74F

#E9C74F is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.7% C 0.141 H 93.2°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#E9C74F
RGBrgb(233, 199, 79)
HSLhsl(47, 78%, 61%)
HSVhsv(47, 66%, 91%)
CMYKcmyk(0%, 14.6%, 66.1%, 8.6%)
CIE-LABlab(81.15, -0.97, 62.37)
CIE-LCHlch(81.15, 62.38, 90.89°)
OKLaboklab(83.72% -0.0078 0.141)
OKLCHoklch(83.72% 0.141 93.2)
XYZxyz(55.4417, 58.7380, 15.8130)
Luminance0.5874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9C74F #4F71E9
analogous
#E97A4F #E9C74F #BEE94F
triadic
#E9C74F #4FE9C7 #C74FE9
tetradic
#E9C74F #4FE97A #4F71E9 #E94FBE
square
#E9C74F #4FE97A #4F71E9 #E94FBE
split-complementary
#E9C74F #4FBEE9 #7A4FE9
monochromatic
#A98815 #DFB41C #E9C74F #F0D885 #F7EABC

Accessibility & contrast

On white

1.65
#E9C74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#E9C74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9C74F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9C74F#FFFFFF#000000##000000
##E9C74F1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e9c74f;
/* rgb */ color: rgb(233, 199, 79);
/* oklch */ color: oklch(83.7% 0.141 93.2);
Tailwind
colors: {
  custom: {
    50: '#f4d786',
    500: '#e9c74f',
    950: '#000000',
  },
}
SCSS
$custom: #e9c74f;
$custom-light: #f4d786;
$custom-dark: #000000;
JSON
{
  "hex": "#e9c74f",
  "rgb": {
    "r": 233,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 46.753,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83723,
    "c": 0.1412,
    "h": 93.2
  },
  "luminance": 0.58735
}

Semantic roles & 50–950 ramp

primary
#E9C74F
secondary
#324DAA
accent
#39DA0B
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E9C74F

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

Preview Lab → · Contrast checker → · Palette generator →

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