#E6DF5F#E6DF5F

#E6DF5F is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.5% C 0.148 H 106.1°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#E6DF5F
RGBrgb(230, 223, 95)
HSLhsl(57, 73%, 64%)
HSVhsv(57, 59%, 90%)
CMYKcmyk(0%, 3%, 58.7%, 9.8%)
CIE-LABlab(87.21, -13.36, 62.02)
CIE-LCHlch(87.21, 63.44, 102.15°)
OKLaboklab(88.51% -0.0412 0.1426)
OKLCHoklch(88.51% 0.148 106.1)
XYZxyz(61.0883, 70.4265, 21.2000)
Luminance0.7043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6DF5F #5F66E6
analogous
#E69B5F #E6DF5F #A9E65F
triadic
#E6DF5F #5FE6DF #DF5FE6
tetradic
#E6DF5F #5FE69B #5F66E6 #E65FA9
square
#E6DF5F #5FE69B #5F66E6 #E65FA9
split-complementary
#E6DF5F #5FA9E6 #9B5FE6
monochromatic
#AFA81B #DED42A #E6DF5F #EEEA94 #F7F4C9

Accessibility & contrast

On white

1.39
#E6DF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#E6DF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6DF5F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6DF5F#FFFFFF#000000##000000
##E6DF5F1.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D751
Deuteranopia (green-blind)
#F3DD66
Tritanopia (blue-blind)
#F5D2C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e6df5f;
/* rgb */ color: rgb(230, 223, 95);
/* oklch */ color: oklch(88.5% 0.148 106.1);
Tailwind
colors: {
  custom: {
    50: '#f1e891',
    500: '#e6df5f',
    950: '#000000',
  },
}
SCSS
$custom: #e6df5f;
$custom-light: #f1e891;
$custom-dark: #000000;
JSON
{
  "hex": "#e6df5f",
  "rgb": {
    "r": 230,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 56.889,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88509,
    "c": 0.14843,
    "h": 106.1
  },
  "luminance": 0.70425
}

Semantic roles & 50–950 ramp

primary
#E6DF5F
secondary
#393FB0
accent
#1BD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E6DF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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