#E7E154#E7E154

#E7E154 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 88.9% C 0.159 H 106.9°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#E7E154
RGBrgb(231, 225, 84)
HSLhsl(58, 75%, 62%)
HSVhsv(58, 64%, 91%)
CMYKcmyk(0%, 2.6%, 63.6%, 9.4%)
CIE-LABlab(87.72, -14.64, 67.17)
CIE-LCHlch(87.72, 68.75, 102.30°)
OKLaboklab(88.91% -0.0461 0.152)
OKLCHoklch(88.91% 0.159 106.9)
XYZxyz(61.4826, 71.4814, 18.9444)
Luminance0.7148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E154 #545AE7
analogous
#E79854 #E7E154 #A4E754
triadic
#E7E154 #54E7E1 #E154E7
tetradic
#E7E154 #54E798 #545AE7 #E754A4
square
#E7E154 #54E798 #545AE7 #E754A4
split-complementary
#E7E154 #54A4E7 #9854E7
monochromatic
#A9A318 #DFD71F #E7E154 #EFEA8A #F6F4BF

Accessibility & contrast

On white

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

On black

15.30
#E7E154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E154
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E154#FFFFFF#000000##000000
##E7E1541.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D942
Deuteranopia (green-blind)
#F6DF5D
Tritanopia (blue-blind)
#F7D3C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e7e154;
/* rgb */ color: rgb(231, 225, 84);
/* oklch */ color: oklch(88.9% 0.159 106.9);
Tailwind
colors: {
  custom: {
    50: '#f2ea8b',
    500: '#e7e154',
    950: '#000000',
  },
}
SCSS
$custom: #e7e154;
$custom-light: #f2ea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e154",
  "rgb": {
    "r": 231,
    "g": 225,
    "b": 84
  },
  "hsl": {
    "h": 57.551,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88908,
    "c": 0.1588,
    "h": 106.9
  },
  "luminance": 0.71479
}

Semantic roles & 50–950 ramp

primary
#E7E154
secondary
#353AAA
accent
#16D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E154

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

Preview Lab → · Contrast checker → · Palette generator →

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