#E6C04A#E6C04A

#E6C04A is a light, vivid yellow. Relative luminance 0.550; OKLCH L 82.0% C 0.140 H 90.9°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#E6C04A
RGBrgb(230, 192, 74)
HSLhsl(45, 76%, 60%)
HSVhsv(45, 68%, 90%)
CMYKcmyk(0%, 16.5%, 67.8%, 9.8%)
CIE-LABlab(79.05, 1.11, 62.17)
CIE-LCHlch(79.05, 62.18, 88.98°)
OKLaboklab(81.99% -0.0022 0.1399)
OKLCHoklch(81.99% 0.14 90.9)
XYZxyz(52.7216, 55.0198, 14.3202)
Luminance0.5502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C04A #4A70E6
analogous
#E6724A #E6C04A #BEE64A
triadic
#E6C04A #4AE6C0 #C04AE6
tetradic
#E6C04A #4AE672 #4A70E6 #E64ABE
square
#E6C04A #4AE672 #4A70E6 #E64ABE
split-complementary
#E6C04A #4ABEE6 #724AE6
monochromatic
#A07E16 #D5A91D #E6C04A #EDD380 #F5E5B6

Accessibility & contrast

On white

1.75
#E6C04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#E6C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C04A
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C04A#FFFFFF#000000##000000
##E6C04A1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3B
Deuteranopia (green-blind)
#DEC850
Tritanopia (blue-blind)
#F8B1A7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e6c04a;
/* rgb */ color: rgb(230, 192, 74);
/* oklch */ color: oklch(82.0% 0.140 90.9);
Tailwind
colors: {
  custom: {
    50: '#f2d282',
    500: '#e6c04a',
    950: '#000000',
  },
}
SCSS
$custom: #e6c04a;
$custom-light: #f2d282;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c04a",
  "rgb": {
    "r": 230,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 45.385,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81991,
    "c": 0.13988,
    "h": 90.9
  },
  "luminance": 0.55017
}

Semantic roles & 50–950 ramp

primary
#E6C04A
secondary
#324DA2
accent
#63F235
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E6C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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