#E6E162#E6E162

#E6E162 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.0% C 0.148 H 107.0°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#E6E162
RGBrgb(230, 225, 98)
HSLhsl(58, 73%, 64%)
HSVhsv(58, 57%, 90%)
CMYKcmyk(0%, 2.2%, 57.4%, 9.8%)
CIE-LABlab(87.75, -14.14, 61.33)
CIE-LCHlch(87.75, 62.94, 102.98°)
OKLaboklab(88.96% -0.0431 0.1415)
OKLCHoklch(88.96% 0.148 107)
XYZxyz(61.7648, 71.5571, 22.1113)
Luminance0.7156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6E162 #6267E6
analogous
#E69F62 #E6E162 #A9E662
triadic
#E6E162 #62E6E1 #E162E6
tetradic
#E6E162 #62E69F #6267E6 #E662A9
square
#E6E162 #62E69F #6267E6 #E662A9
split-complementary
#E6E162 #62A9E6 #9F62E6
monochromatic
#B1AC1C #DED72D #E6E162 #EEEB97 #F7F5CC

Accessibility & contrast

On white

1.37
#E6E162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#E6E162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6E162
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6E162#FFFFFF#000000##000000
##E6E1621.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D954
Deuteranopia (green-blind)
#F5DE69
Tritanopia (blue-blind)
#F5D4C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e6e162;
/* rgb */ color: rgb(230, 225, 98);
/* oklch */ color: oklch(89.0% 0.148 107.0);
Tailwind
colors: {
  custom: {
    50: '#f1ea93',
    500: '#e6e162',
    950: '#000000',
  },
}
SCSS
$custom: #e6e162;
$custom-light: #f1ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#e6e162",
  "rgb": {
    "r": 230,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 57.727,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.88955,
    "c": 0.14792,
    "h": 107
  },
  "luminance": 0.71555
}

Semantic roles & 50–950 ramp

primary
#E6E162
secondary
#3A3FB2
accent
#18D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E6E162

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

Preview Lab → · Contrast checker → · Palette generator →

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