#E7E378#E7E378

#E7E378 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.7% C 0.130 H 106.8°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#E7E378
RGBrgb(231, 227, 120)
HSLhsl(58, 70%, 69%)
HSVhsv(58, 48%, 91%)
CMYKcmyk(0%, 1.7%, 48.1%, 9.4%)
CIE-LABlab(88.58, -12.97, 52.31)
CIE-LCHlch(88.58, 53.89, 103.92°)
OKLaboklab(89.71% -0.0376 0.1242)
OKLCHoklch(89.71% 0.13 106.8)
XYZxyz(63.8157, 73.2848, 28.5494)
Luminance0.7328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E378 #787CE7
analogous
#E7AC78 #E7E378 #B4E778
triadic
#E7E378 #78E7E3 #E378E7
tetradic
#E7E378 #78E7AC #787CE7 #E778B4
square
#E7E378 #78E7AC #787CE7 #E778B4
split-complementary
#E7E378 #78B4E7 #AC78E7
monochromatic
#C2BC23 #DED844 #E7E378 #F0EEAC #F9F9E0

Accessibility & contrast

On white

1.34
#E7E378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#E7E378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E378
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E378#FFFFFF#000000##000000
##E7E3781.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC6F
Deuteranopia (green-blind)
#F5E17D
Tritanopia (blue-blind)
#F5D7CA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e378;
/* rgb */ color: rgb(231, 227, 120);
/* oklch */ color: oklch(89.7% 0.130 106.8);
Tailwind
colors: {
  custom: {
    50: '#f1eba1',
    500: '#e7e378',
    950: '#000000',
  },
}
SCSS
$custom: #e7e378;
$custom-light: #f1eba1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e378",
  "rgb": {
    "r": 231,
    "g": 227,
    "b": 120
  },
  "hsl": {
    "h": 57.838,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89707,
    "c": 0.12976,
    "h": 106.8
  },
  "luminance": 0.73283
}

Semantic roles & 50–950 ramp

primary
#E7E378
secondary
#4449BF
accent
#1BD214
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7E378

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

Preview Lab → · Contrast checker → · Palette generator →

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