#E6DC4F#E6DC4F

#E6DC4F is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.7% C 0.158 H 105.3°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#E6DC4F
RGBrgb(230, 220, 79)
HSLhsl(56, 75%, 61%)
HSVhsv(56, 66%, 90%)
CMYKcmyk(0%, 4.3%, 65.7%, 9.8%)
CIE-LABlab(86.29, -12.86, 67.65)
CIE-LCHlch(86.29, 68.86, 100.77°)
OKLaboklab(87.74% -0.0415 0.1522)
OKLCHoklch(87.74% 0.158 105.3)
XYZxyz(59.6399, 68.5761, 17.4906)
Luminance0.6857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6DC4F #4F59E6
analogous
#E6904F #E6DC4F #A5E64F
triadic
#E6DC4F #4FE6DC #DC4FE6
tetradic
#E6DC4F #4FE690 #4F59E6 #E64FA5
square
#E6DC4F #4FE690 #4F59E6 #E64FA5
split-complementary
#E6DC4F #4FA5E6 #904FE6
monochromatic
#A39A17 #D9CD1F #E6DC4F #EEE785 #F5F1BA

Accessibility & contrast

On white

1.43
#E6DC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#E6DC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6DC4F
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6DC4F#FFFFFF#000000##000000
##E6DC4F1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43C
Deuteranopia (green-blind)
#F2DB58
Tritanopia (blue-blind)
#F6CEBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e6dc4f;
/* rgb */ color: rgb(230, 220, 79);
/* oklch */ color: oklch(87.7% 0.158 105.3);
Tailwind
colors: {
  custom: {
    50: '#f1e687',
    500: '#e6dc4f',
    950: '#000000',
  },
}
SCSS
$custom: #e6dc4f;
$custom-light: #f1e687;
$custom-dark: #000000;
JSON
{
  "hex": "#e6dc4f",
  "rgb": {
    "r": 230,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 56.026,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87742,
    "c": 0.15781,
    "h": 105.3
  },
  "luminance": 0.68574
}

Semantic roles & 50–950 ramp

primary
#E6DC4F
secondary
#333BA6
accent
#1CD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E6DC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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