#E6E158#E6E158

#E6E158 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 88.9% C 0.156 H 107.2°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#E6E158
RGBrgb(230, 225, 88)
HSLhsl(58, 74%, 62%)
HSVhsv(58, 62%, 90%)
CMYKcmyk(0%, 2.2%, 61.7%, 9.8%)
CIE-LABlab(87.67, -14.81, 65.47)
CIE-LCHlch(87.67, 67.13, 102.74°)
OKLaboklab(88.86% -0.0461 0.149)
OKLCHoklch(88.86% 0.156 107.2)
XYZxyz(61.3218, 71.3799, 19.7781)
Luminance0.7138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6E158 #585DE6
analogous
#E69A58 #E6E158 #A4E658
triadic
#E6E158 #58E6E1 #E158E6
tetradic
#E6E158 #58E69A #585DE6 #E658A4
square
#E6E158 #58E69A #585DE6 #E658A4
split-complementary
#E6E158 #58A4E6 #9A58E6
monochromatic
#AAA519 #DED723 #E6E158 #EEEB8D #F6F4C2

Accessibility & contrast

On white

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

On black

15.28
#E6E158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6E158
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6E158#FFFFFF#000000##000000
##E6E1581.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D947
Deuteranopia (green-blind)
#F5DE60
Tritanopia (blue-blind)
#F6D3C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e6e158;
/* rgb */ color: rgb(230, 225, 88);
/* oklch */ color: oklch(88.9% 0.156 107.2);
Tailwind
colors: {
  custom: {
    50: '#f1ea8d',
    500: '#e6e158',
    950: '#000000',
  },
}
SCSS
$custom: #e6e158;
$custom-light: #f1ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e6e158",
  "rgb": {
    "r": 230,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 57.887,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8886,
    "c": 0.15595,
    "h": 107.2
  },
  "luminance": 0.71378
}

Semantic roles & 50–950 ramp

primary
#E6E158
secondary
#373BAC
accent
#16D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E6E158

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

Preview Lab → · Contrast checker → · Palette generator →

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