#E7E478#E7E478

#E7E478 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 89.9% C 0.131 H 107.3°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#E7E478
RGBrgb(231, 228, 120)
HSLhsl(58, 70%, 69%)
HSVhsv(58, 48%, 91%)
CMYKcmyk(0%, 1.3%, 48.1%, 9.4%)
CIE-LABlab(88.84, -13.46, 52.62)
CIE-LCHlch(88.84, 54.31, 104.35°)
OKLaboklab(89.92% -0.039 0.1249)
OKLCHoklch(89.92% 0.131 107.3)
XYZxyz(64.0900, 73.8334, 28.6408)
Luminance0.7383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E478 #787BE7
analogous
#E7AD78 #E7E478 #B3E778
triadic
#E7E478 #78E7E4 #E478E7
tetradic
#E7E478 #78E7AD #787BE7 #E778B3
square
#E7E478 #78E7AD #787BE7 #E778B3
split-complementary
#E7E478 #78B3E7 #AD78E7
monochromatic
#C2BE23 #DEDA44 #E7E478 #F0EEAC #F9F9E0

Accessibility & contrast

On white

1.33
#E7E478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#E7E478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E478
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E478#FFFFFF#000000##000000
##E7E4781.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD6E
Deuteranopia (green-blind)
#F6E17D
Tritanopia (blue-blind)
#F5D8CB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e7e478;
/* rgb */ color: rgb(231, 228, 120);
/* oklch */ color: oklch(89.9% 0.131 107.3);
Tailwind
colors: {
  custom: {
    50: '#f1eca1',
    500: '#e7e478',
    950: '#000000',
  },
}
SCSS
$custom: #e7e478;
$custom-light: #f1eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e478",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 58.378,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89915,
    "c": 0.13083,
    "h": 107.3
  },
  "luminance": 0.73832
}

Semantic roles & 50–950 ramp

primary
#E7E478
secondary
#4448BF
accent
#19D214
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7E478

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

Preview Lab → · Contrast checker → · Palette generator →

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