#E7E159#E7E159

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

Color values

HEX#E7E159
RGBrgb(231, 225, 89)
HSLhsl(57, 75%, 63%)
HSVhsv(57, 61%, 91%)
CMYKcmyk(0%, 2.6%, 61.5%, 9.4%)
CIE-LABlab(87.76, -14.33, 65.18)
CIE-LCHlch(87.76, 66.74, 102.40°)
OKLaboklab(88.95% -0.0447 0.1485)
OKLCHoklch(88.95% 0.155 106.8)
XYZxyz(61.6855, 71.5626, 20.0129)
Luminance0.7156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E159 #595FE7
analogous
#E79A59 #E7E159 #A6E759
triadic
#E7E159 #59E7E1 #E159E7
tetradic
#E7E159 #59E79A #595FE7 #E759A6
square
#E7E159 #59E79A #595FE7 #E759A6
split-complementary
#E7E159 #59A6E7 #9A59E7
monochromatic
#ADA619 #DFD724 #E7E159 #EFEB8E #F6F4C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7E159#FFFFFF#000000##000000
##E7E1591.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)
#F3D949
Deuteranopia (green-blind)
#F6DF61
Tritanopia (blue-blind)
#F7D3C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e7e159;
/* rgb */ color: rgb(231, 225, 89);
/* oklch */ color: oklch(89.0% 0.155 106.8);
Tailwind
colors: {
  custom: {
    50: '#f2ea8e',
    500: '#e7e159',
    950: '#000000',
  },
}
SCSS
$custom: #e7e159;
$custom-light: #f2ea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e159",
  "rgb": {
    "r": 231,
    "g": 225,
    "b": 89
  },
  "hsl": {
    "h": 57.465,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88952,
    "c": 0.15506,
    "h": 106.8
  },
  "luminance": 0.71561
}

Semantic roles & 50–950 ramp

primary
#E7E159
secondary
#363BAE
accent
#17D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E159

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

Preview Lab → · Contrast checker → · Palette generator →

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