#E7E178#E7E178

#E7E178 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.3% C 0.128 H 105.8°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#E7E178
RGBrgb(231, 225, 120)
HSLhsl(57, 70%, 69%)
HSVhsv(57, 48%, 91%)
CMYKcmyk(0%, 2.6%, 48.1%, 9.4%)
CIE-LABlab(88.06, -11.97, 51.68)
CIE-LCHlch(88.06, 53.05, 103.04°)
OKLaboklab(89.29% -0.0347 0.1228)
OKLCHoklch(89.29% 0.128 105.8)
XYZxyz(63.2719, 72.1972, 28.3681)
Luminance0.7219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E178 #787EE7
analogous
#E7AA78 #E7E178 #B6E778
triadic
#E7E178 #78E7E1 #E178E7
tetradic
#E7E178 #78E7AA #787EE7 #E778B6
square
#E7E178 #78E7AA #787EE7 #E778B6
split-complementary
#E7E178 #78B6E7 #AA78E7
monochromatic
#C2B923 #DED544 #E7E178 #F0EDAC #F9F8E0

Accessibility & contrast

On white

1.36
#E7E178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#E7E178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E178
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E178#FFFFFF#000000##000000
##E7E1781.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA6F
Deuteranopia (green-blind)
#F3DF7D
Tritanopia (blue-blind)
#F5D5C9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e178;
/* rgb */ color: rgb(231, 225, 120);
/* oklch */ color: oklch(89.3% 0.128 105.8);
Tailwind
colors: {
  custom: {
    50: '#f1eaa1',
    500: '#e7e178',
    950: '#000000',
  },
}
SCSS
$custom: #e7e178;
$custom-light: #f1eaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e178",
  "rgb": {
    "r": 231,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 56.757,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89294,
    "c": 0.12763,
    "h": 105.8
  },
  "luminance": 0.72195
}

Semantic roles & 50–950 ramp

primary
#E7E178
secondary
#444BBF
accent
#1ED214
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7E178

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

Preview Lab → · Contrast checker → · Palette generator →

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