#E7E477#E7E477

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

Color values

HEX#E7E477
RGBrgb(231, 228, 119)
HSLhsl(58, 70%, 69%)
HSVhsv(58, 48%, 91%)
CMYKcmyk(0%, 1.3%, 48.5%, 9.4%)
CIE-LABlab(88.83, -13.55, 53.08)
CIE-LCHlch(88.83, 54.78, 104.32°)
OKLaboklab(89.9% -0.0393 0.1258)
OKLCHoklch(89.9% 0.132 107.4)
XYZxyz(64.0297, 73.8093, 28.3229)
Luminance0.7381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E477 #777AE7
analogous
#E7AC77 #E7E477 #B2E777
triadic
#E7E477 #77E7E4 #E477E7
tetradic
#E7E477 #77E7AC #777AE7 #E777B2
square
#E7E477 #77E7AC #777AE7 #E777B2
split-complementary
#E7E477 #77B2E7 #AC77E7
monochromatic
#C1BD22 #DEDA43 #E7E477 #F0EEAB #F9F9DF

Accessibility & contrast

On white

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

On black

15.76
#E7E477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E477
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E477#FFFFFF#000000##000000
##E7E4771.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7e477;
/* rgb */ color: rgb(231, 228, 119);
/* oklch */ color: oklch(89.9% 0.132 107.4);
Tailwind
colors: {
  custom: {
    50: '#f1eca1',
    500: '#e7e477',
    950: '#000000',
  },
}
SCSS
$custom: #e7e477;
$custom-light: #f1eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e477",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 119
  },
  "hsl": {
    "h": 58.393,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.89902,
    "c": 0.13181,
    "h": 107.4
  },
  "luminance": 0.73808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7E477

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

Preview Lab → · Contrast checker → · Palette generator →

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