#E6C04D#E6C04D

#E6C04D is a very light, vivid yellow. Relative luminance 0.551; OKLCH L 82.0% C 0.138 H 90.6°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#E6C04D
RGBrgb(230, 192, 77)
HSLhsl(45, 75%, 60%)
HSVhsv(45, 67%, 90%)
CMYKcmyk(0%, 16.5%, 66.5%, 9.8%)
CIE-LABlab(79.08, 1.28, 60.94)
CIE-LCHlch(79.08, 60.96, 88.80°)
OKLaboklab(82.02% -0.0014 0.1377)
OKLCHoklch(82.02% 0.138 90.6)
XYZxyz(52.8251, 55.0612, 14.8652)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C04D #4D73E6
analogous
#E6734D #E6C04D #BFE64D
triadic
#E6C04D #4DE6C0 #C04DE6
tetradic
#E6C04D #4DE673 #4D73E6 #E64DBF
square
#E6C04D #4DE673 #4D73E6 #E64DBF
split-complementary
#E6C04D #4DBFE6 #734DE6
monochromatic
#A27F17 #D8AA1E #E6C04D #EED383 #F5E6B8

Accessibility & contrast

On white

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

On black

12.01
#E6C04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C04D
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C04D#FFFFFF#000000##000000
##E6C04D1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE3F
Deuteranopia (green-blind)
#DEC852
Tritanopia (blue-blind)
#F8B1A8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e6c04d;
/* rgb */ color: rgb(230, 192, 77);
/* oklch */ color: oklch(82.0% 0.138 90.6);
Tailwind
colors: {
  custom: {
    50: '#f2d284',
    500: '#e6c04d',
    950: '#000000',
  },
}
SCSS
$custom: #e6c04d;
$custom-light: #f2d284;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c04d",
  "rgb": {
    "r": 230,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 45.098,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82018,
    "c": 0.13775,
    "h": 90.6
  },
  "luminance": 0.55058
}

Semantic roles & 50–950 ramp

primary
#E6C04D
secondary
#334FA4
accent
#40D80E
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E6C04D

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

Preview Lab → · Contrast checker → · Palette generator →

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