#E6D945#E6D945

#E6D945 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.0% C 0.162 H 104.2°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#E6D945
RGBrgb(230, 217, 69)
HSLhsl(55, 76%, 59%)
HSVhsv(55, 70%, 90%)
CMYKcmyk(0%, 5.7%, 70%, 9.8%)
CIE-LABlab(85.44, -11.89, 70.57)
CIE-LCHlch(85.44, 71.57, 99.56°)
OKLaboklab(87.04% -0.0398 0.1568)
OKLCHoklch(87.04% 0.162 104.2)
XYZxyz(58.5226, 66.8807, 15.4557)
Luminance0.6688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D945 #4552E6
analogous
#E68845 #E6D945 #A2E645
triadic
#E6D945 #45E6D9 #D945E6
tetradic
#E6D945 #45E688 #4552E6 #E645A2
square
#E6D945 #45E688 #4552E6 #E645A2
split-complementary
#E6D945 #45A2E6 #8845E6
monochromatic
#9C9115 #D2C31C #E6D945 #EDE47B #F5EFB1

Accessibility & contrast

On white

1.46
#E6D945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#E6D945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D945
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D945#FFFFFF#000000##000000
##E6D9451.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD22D
Deuteranopia (green-blind)
#F0D94F
Tritanopia (blue-blind)
#F7CABC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e6d945;
/* rgb */ color: rgb(230, 217, 69);
/* oklch */ color: oklch(87.0% 0.162 104.2);
Tailwind
colors: {
  custom: {
    50: '#f2e482',
    500: '#e6d945',
    950: '#000000',
  },
}
SCSS
$custom: #e6d945;
$custom-light: #f2e482;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d945",
  "rgb": {
    "r": 230,
    "g": 217,
    "b": 69
  },
  "hsl": {
    "h": 55.155,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87044,
    "c": 0.16175,
    "h": 104.2
  },
  "luminance": 0.66878
}

Semantic roles & 50–950 ramp

primary
#E6D945
secondary
#30399F
accent
#44F335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E6D945

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

Preview Lab → · Contrast checker → · Palette generator →

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