#E4C03F#E4C03F

#E4C03F is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.7% C 0.147 H 92.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#E4C03F
RGBrgb(228, 192, 63)
HSLhsl(47, 75%, 57%)
HSVhsv(47, 72%, 89%)
CMYKcmyk(0%, 15.8%, 72.4%, 10.6%)
CIE-LABlab(78.78, -0.28, 66.20)
CIE-LCHlch(78.78, 66.20, 90.25°)
OKLaboklab(81.71% -0.0074 0.1465)
OKLCHoklch(81.71% 0.147 92.9)
XYZxyz(51.7446, 54.5551, 12.5064)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C03F #3F63E4
analogous
#E46E3F #E4C03F #B6E43F
triadic
#E4C03F #3FE4C0 #C03FE4
tetradic
#E4C03F #3FE46E #3F63E4 #E43FB6
square
#E4C03F #3FE46E #3F63E4 #E43FB6
split-complementary
#E4C03F #3FB6E4 #6E3FE4
monochromatic
#947815 #C9A41C #E4C03F #ECD275 #F3E3AA

Accessibility & contrast

On white

1.76
#E4C03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#E4C03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C03F
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C03F#FFFFFF#000000##000000
##E4C03F1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2B
Deuteranopia (green-blind)
#DEC746
Tritanopia (blue-blind)
#F6B1A6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e4c03f;
/* rgb */ color: rgb(228, 192, 63);
/* oklch */ color: oklch(81.7% 0.147 92.9);
Tailwind
colors: {
  custom: {
    50: '#f1d27c',
    500: '#e4c03f',
    950: '#000000',
  },
}
SCSS
$custom: #e4c03f;
$custom-light: #f1d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c03f",
  "rgb": {
    "r": 228,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 46.909,
    "s": 75.342,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8171,
    "c": 0.14669,
    "h": 92.9
  },
  "luminance": 0.54552
}

Semantic roles & 50–950 ramp

primary
#E4C03F
secondary
#2F4698
accent
#5FF236
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E4C03F

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

Preview Lab → · Contrast checker → · Palette generator →

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