#E9C74D#E9C74D

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

Color values

HEX#E9C74D
RGBrgb(233, 199, 77)
HSLhsl(47, 78%, 61%)
HSVhsv(47, 67%, 91%)
CMYKcmyk(0%, 14.6%, 67%, 8.6%)
CIE-LABlab(81.13, -1.08, 63.18)
CIE-LCHlch(81.13, 63.19, 90.98°)
OKLaboklab(83.71% -0.0084 0.1424)
OKLCHoklch(83.71% 0.143 93.4)
XYZxyz(55.3700, 58.7093, 15.4353)
Luminance0.5871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9C74D #4D6FE9
analogous
#E9794D #E9C74D #BDE94D
triadic
#E9C74D #4DE9C7 #C74DE9
tetradic
#E9C74D #4DE979 #4D6FE9 #E94DBD
square
#E9C74D #4DE979 #4D6FE9 #E94DBD
split-complementary
#E9C74D #4DBDE9 #794DE9
monochromatic
#A78715 #DDB31B #E9C74D #F0D883 #F6E9BA

Accessibility & contrast

On white

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

On black

12.74
#E9C74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9C74D
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9C74D#FFFFFF#000000##000000
##E9C74D1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43E
Deuteranopia (green-blind)
#E4CE53
Tritanopia (blue-blind)
#FBB8AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e9c74d;
/* rgb */ color: rgb(233, 199, 77);
/* oklch */ color: oklch(83.7% 0.143 93.4);
Tailwind
colors: {
  custom: {
    50: '#f4d785',
    500: '#e9c74d',
    950: '#000000',
  },
}
SCSS
$custom: #e9c74d;
$custom-light: #f4d785;
$custom-dark: #000000;
JSON
{
  "hex": "#e9c74d",
  "rgb": {
    "r": 233,
    "g": 199,
    "b": 77
  },
  "hsl": {
    "h": 46.923,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83706,
    "c": 0.14264,
    "h": 93.4
  },
  "luminance": 0.58706
}

Semantic roles & 50–950 ramp

primary
#E9C74D
secondary
#324BA9
accent
#38DA0B
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E9C74D

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

Preview Lab → · Contrast checker → · Palette generator →

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