#E6D162#E6D162

#E6D162 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.7% C 0.133 H 98.7°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#E6D162
RGBrgb(230, 209, 98)
HSLhsl(50, 73%, 64%)
HSVhsv(50, 57%, 90%)
CMYKcmyk(0%, 9.1%, 57.4%, 9.8%)
CIE-LABlab(83.60, -6.11, 56.66)
CIE-LCHlch(83.60, 56.99, 96.15°)
OKLaboklab(85.66% -0.0202 0.1315)
OKLCHoklch(85.66% 0.133 98.7)
XYZxyz(57.6404, 63.3082, 20.7364)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D162 #6277E6
analogous
#E68F62 #E6D162 #B9E662
triadic
#E6D162 #62E6D1 #D162E6
tetradic
#E6D162 #62E68F #6277E6 #E662B9
square
#E6D162 #62E68F #6277E6 #E662B9
split-complementary
#E6D162 #62B9E6 #8F62E6
monochromatic
#B19A1C #DEC22D #E6D162 #EEE097 #F7F0CC

Accessibility & contrast

On white

1.54
#E6D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#E6D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D162
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D162#FFFFFF#000000##000000
##E6D1621.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#E9D467
Tritanopia (blue-blind)
#F6C4B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e6d162;
/* rgb */ color: rgb(230, 209, 98);
/* oklch */ color: oklch(85.7% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#f1de92',
    500: '#e6d162',
    950: '#000000',
  },
}
SCSS
$custom: #e6d162;
$custom-light: #f1de92;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d162",
  "rgb": {
    "r": 230,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 50.455,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85658,
    "c": 0.13305,
    "h": 98.7
  },
  "luminance": 0.63306
}

Semantic roles & 50–950 ramp

primary
#E6D162
secondary
#3A4DB2
accent
#30D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E6D162

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

Preview Lab → · Contrast checker → · Palette generator →

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