#E6DC45#E6DC45

#E6DC45 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.7% C 0.164 H 105.5°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#E6DC45
RGBrgb(230, 220, 69)
HSLhsl(56, 76%, 59%)
HSVhsv(56, 70%, 90%)
CMYKcmyk(0%, 4.3%, 70%, 9.8%)
CIE-LABlab(86.23, -13.38, 71.34)
CIE-LCHlch(86.23, 72.59, 100.62°)
OKLaboklab(87.67% -0.044 0.1584)
OKLCHoklch(87.67% 0.164 105.5)
XYZxyz(59.3029, 68.4413, 15.7158)
Luminance0.6844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6DC45 #454FE6
analogous
#E68B45 #E6DC45 #9FE645
triadic
#E6DC45 #45E6DC #DC45E6
tetradic
#E6DC45 #45E68B #454FE6 #E6459F
square
#E6DC45 #45E68B #454FE6 #E6459F
split-complementary
#E6DC45 #459FE6 #8B45E6
monochromatic
#9C9315 #D2C61C #E6DC45 #EDE67B #F5F0B1

Accessibility & contrast

On white

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

On black

14.69
#E6DC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6DC45
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6DC45#FFFFFF#000000##000000
##E6DC451.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD42C
Deuteranopia (green-blind)
#F3DB4F
Tritanopia (blue-blind)
#F7CDBE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e6dc45;
/* rgb */ color: rgb(230, 220, 69);
/* oklch */ color: oklch(87.7% 0.164 105.5);
Tailwind
colors: {
  custom: {
    50: '#f2e682',
    500: '#e6dc45',
    950: '#000000',
  },
}
SCSS
$custom: #e6dc45;
$custom-light: #f2e682;
$custom-dark: #000000;
JSON
{
  "hex": "#e6dc45",
  "rgb": {
    "r": 230,
    "g": 220,
    "b": 69
  },
  "hsl": {
    "h": 56.273,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87667,
    "c": 0.16439,
    "h": 105.5
  },
  "luminance": 0.68439
}

Semantic roles & 50–950 ramp

primary
#E6DC45
secondary
#30379F
accent
#41F335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E6DC45

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

Preview Lab → · Contrast checker → · Palette generator →

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