#E6D562#E6D562

#E6D562 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.5% C 0.137 H 101.0°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#E6D562
RGBrgb(230, 213, 98)
HSLhsl(52, 73%, 64%)
HSVhsv(52, 57%, 90%)
CMYKcmyk(0%, 7.4%, 57.4%, 9.8%)
CIE-LABlab(84.64, -8.14, 57.83)
CIE-LCHlch(84.64, 58.40, 98.01°)
OKLaboklab(86.48% -0.026 0.134)
OKLCHoklch(86.48% 0.137 101)
XYZxyz(58.6341, 65.2956, 21.0677)
Luminance0.6529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D562 #6273E6
analogous
#E69362 #E6D562 #B5E662
triadic
#E6D562 #62E6D5 #D562E6
tetradic
#E6D562 #62E693 #6273E6 #E662B5
square
#E6D562 #62E693 #6273E6 #E662B5
split-complementary
#E6D562 #62B5E6 #9362E6
monochromatic
#B19E1C #DEC72D #E6D562 #EEE397 #F7F1CC

Accessibility & contrast

On white

1.49
#E6D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#E6D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D562
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D562#FFFFFF#000000##000000
##E6D5621.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF56
Deuteranopia (green-blind)
#ECD668
Tritanopia (blue-blind)
#F6C8BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e6d562;
/* rgb */ color: rgb(230, 213, 98);
/* oklch */ color: oklch(86.5% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#f1e192',
    500: '#e6d562',
    950: '#000000',
  },
}
SCSS
$custom: #e6d562;
$custom-light: #f1e192;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d562",
  "rgb": {
    "r": 230,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 52.273,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86476,
    "c": 0.13651,
    "h": 101
  },
  "luminance": 0.65293
}

Semantic roles & 50–950 ramp

primary
#E6D562
secondary
#3A4AB2
accent
#2AD511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E6D562

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

Preview Lab → · Contrast checker → · Palette generator →

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