#E7E155#E7E155

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

Color values

HEX#E7E155
RGBrgb(231, 225, 85)
HSLhsl(58, 75%, 62%)
HSVhsv(58, 63%, 91%)
CMYKcmyk(0%, 2.6%, 63.2%, 9.4%)
CIE-LABlab(87.73, -14.58, 66.78)
CIE-LCHlch(87.73, 68.35, 102.32°)
OKLaboklab(88.92% -0.0458 0.1513)
OKLCHoklch(88.92% 0.158 106.9)
XYZxyz(61.5220, 71.4972, 19.1522)
Luminance0.7149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E155 #555BE7
analogous
#E79855 #E7E155 #A4E755
triadic
#E7E155 #55E7E1 #E155E7
tetradic
#E7E155 #55E798 #555BE7 #E755A4
square
#E7E155 #55E798 #555BE7 #E755A4
split-complementary
#E7E155 #55A4E7 #9855E7
monochromatic
#AAA418 #DFD720 #E7E155 #EFEA8B #F6F4C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7E155#FFFFFF#000000##000000
##E7E1551.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)
#F3D943
Deuteranopia (green-blind)
#F6DF5E
Tritanopia (blue-blind)
#F7D3C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e7e155;
/* rgb */ color: rgb(231, 225, 85);
/* oklch */ color: oklch(88.9% 0.158 106.9);
Tailwind
colors: {
  custom: {
    50: '#f2ea8b',
    500: '#e7e155',
    950: '#000000',
  },
}
SCSS
$custom: #e7e155;
$custom-light: #f2ea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e155",
  "rgb": {
    "r": 231,
    "g": 225,
    "b": 85
  },
  "hsl": {
    "h": 57.534,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.88917,
    "c": 0.15807,
    "h": 106.9
  },
  "luminance": 0.71495
}

Semantic roles & 50–950 ramp

primary
#E7E155
secondary
#353AAB
accent
#16D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E155

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

Preview Lab → · Contrast checker → · Palette generator →

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