#E6DF52#E6DF52

#E6DF52 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.4% C 0.158 H 106.5°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#E6DF52
RGBrgb(230, 223, 82)
HSLhsl(57, 75%, 61%)
HSVhsv(57, 64%, 90%)
CMYKcmyk(0%, 3%, 64.3%, 9.8%)
CIE-LABlab(87.10, -14.18, 67.30)
CIE-LCHlch(87.10, 68.78, 101.90°)
OKLaboklab(88.39% -0.0449 0.152)
OKLCHoklch(88.39% 0.158 106.5)
XYZxyz(60.5460, 70.2096, 18.3435)
Luminance0.7021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6DF52 #5259E6
analogous
#E69552 #E6DF52 #A3E652
triadic
#E6DF52 #52E6DF #DF52E6
tetradic
#E6DF52 #52E695 #5259E6 #E652A3
square
#E6DF52 #52E695 #5259E6 #E652A3
split-complementary
#E6DF52 #52A3E6 #9552E6
monochromatic
#A69F18 #DBD220 #E6DF52 #EEE987 #F5F3BD

Accessibility & contrast

On white

1.40
#E6DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#E6DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6DF52
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6DF52#FFFFFF#000000##000000
##E6DF521.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73F
Deuteranopia (green-blind)
#F4DD5B
Tritanopia (blue-blind)
#F6D1C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e6df52;
/* rgb */ color: rgb(230, 223, 82);
/* oklch */ color: oklch(88.4% 0.158 106.5);
Tailwind
colors: {
  custom: {
    50: '#f1e889',
    500: '#e6df52',
    950: '#000000',
  },
}
SCSS
$custom: #e6df52;
$custom-light: #f1e889;
$custom-dark: #000000;
JSON
{
  "hex": "#e6df52",
  "rgb": {
    "r": 230,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 57.162,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88391,
    "c": 0.15847,
    "h": 106.5
  },
  "luminance": 0.70208
}

Semantic roles & 50–950 ramp

primary
#E6DF52
secondary
#343AA8
accent
#18D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E6DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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