#E6DC52#E6DC52

#E6DC52 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.8% C 0.156 H 105.2°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#E6DC52
RGBrgb(230, 220, 82)
HSLhsl(56, 75%, 61%)
HSVhsv(56, 64%, 90%)
CMYKcmyk(0%, 4.3%, 64.3%, 9.8%)
CIE-LABlab(86.32, -12.69, 66.48)
CIE-LCHlch(86.32, 67.68, 100.81°)
OKLaboklab(87.77% -0.0407 0.1502)
OKLCHoklch(87.77% 0.156 105.2)
XYZxyz(59.7515, 68.6207, 18.0787)
Luminance0.6862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6DC52 #525CE6
analogous
#E69252 #E6DC52 #A6E652
triadic
#E6DC52 #52E6DC #DC52E6
tetradic
#E6DC52 #52E692 #525CE6 #E652A6
square
#E6DC52 #52E692 #525CE6 #E652A6
split-complementary
#E6DC52 #52A6E6 #9252E6
monochromatic
#A69C18 #DBCE20 #E6DC52 #EEE787 #F5F2BD

Accessibility & contrast

On white

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

On black

14.72
#E6DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6DC52
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6DC52#FFFFFF#000000##000000
##E6DC521.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED440
Deuteranopia (green-blind)
#F2DB5A
Tritanopia (blue-blind)
#F6CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e6dc52;
/* rgb */ color: rgb(230, 220, 82);
/* oklch */ color: oklch(87.8% 0.156 105.2);
Tailwind
colors: {
  custom: {
    50: '#f1e689',
    500: '#e6dc52',
    950: '#000000',
  },
}
SCSS
$custom: #e6dc52;
$custom-light: #f1e689;
$custom-dark: #000000;
JSON
{
  "hex": "#e6dc52",
  "rgb": {
    "r": 230,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 55.946,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87767,
    "c": 0.15566,
    "h": 105.2
  },
  "luminance": 0.68619
}

Semantic roles & 50–950 ramp

primary
#E6DC52
secondary
#343CA8
accent
#1CD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E6DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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