#E4E07B#E4E07B

#E4E07B is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.9% C 0.124 H 106.7°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#E4E07B
RGBrgb(228, 224, 123)
HSLhsl(58, 66%, 69%)
HSVhsv(58, 46%, 89%)
CMYKcmyk(0%, 1.8%, 46.1%, 10.6%)
CIE-LABlab(87.60, -12.39, 49.64)
CIE-LCHlch(87.60, 51.16, 104.02°)
OKLaboklab(88.88% -0.0355 0.1186)
OKLCHoklch(88.88% 0.124 106.7)
XYZxyz(62.2271, 71.2369, 29.2072)
Luminance0.7124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E07B #7B7FE4
analogous
#E4AC7B #E4E07B #B4E47B
triadic
#E4E07B #7BE4E0 #E07BE4
tetradic
#E4E07B #7BE4AC #7B7FE4 #E47BB4
square
#E4E07B #7BE4AC #7B7FE4 #E47BB4
split-complementary
#E4E07B #7BB4E4 #AC7BE4
monochromatic
#BEB827 #DAD448 #E4E07B #EEECAE #F9F8E1

Accessibility & contrast

On white

1.38
#E4E07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#E4E07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E07B
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E07B#FFFFFF#000000##000000
##E4E07B1.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD972
Deuteranopia (green-blind)
#F1DE80
Tritanopia (blue-blind)
#F1D5C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e4e07b;
/* rgb */ color: rgb(228, 224, 123);
/* oklch */ color: oklch(88.9% 0.124 106.7);
Tailwind
colors: {
  custom: {
    50: '#eee9a3',
    500: '#e4e07b',
    950: '#000000',
  },
}
SCSS
$custom: #e4e07b;
$custom-light: #eee9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e07b",
  "rgb": {
    "r": 228,
    "g": 224,
    "b": 123
  },
  "hsl": {
    "h": 57.714,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88879,
    "c": 0.12377,
    "h": 106.7
  },
  "luminance": 0.71235
}

Semantic roles & 50–950 ramp

primary
#E4E07B
secondary
#484CBC
accent
#1FCE18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E4E07B

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

Preview Lab → · Contrast checker → · Palette generator →

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