#E7E04D#E7E04D

#E7E04D is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.6% C 0.163 H 106.6°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#E7E04D
RGBrgb(231, 224, 77)
HSLhsl(57, 76%, 60%)
HSVhsv(57, 67%, 91%)
CMYKcmyk(0%, 3%, 66.7%, 9.4%)
CIE-LABlab(87.41, -14.54, 69.58)
CIE-LCHlch(87.41, 71.09, 101.80°)
OKLaboklab(88.64% -0.0465 0.156)
OKLCHoklch(88.64% 0.163 106.6)
XYZxyz(60.9525, 70.8381, 17.4821)
Luminance0.7084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E04D #4D54E7
analogous
#E7934D #E7E04D #A1E74D
triadic
#E7E04D #4DE7E0 #E04DE7
tetradic
#E7E04D #4DE793 #4D54E7 #E74DA1
square
#E7E04D #4DE793 #4D54E7 #E74DA1
split-complementary
#E7E04D #4DA1E7 #934DE7
monochromatic
#A49D16 #D9D11D #E7E04D #EEE983 #F6F3B9

Accessibility & contrast

On white

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

On black

15.17
#E7E04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E04D
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E04D#FFFFFF#000000##000000
##E7E04D1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D838
Deuteranopia (green-blind)
#F6DE57
Tritanopia (blue-blind)
#F7D2C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7e04d;
/* rgb */ color: rgb(231, 224, 77);
/* oklch */ color: oklch(88.6% 0.163 106.6);
Tailwind
colors: {
  custom: {
    50: '#f2e987',
    500: '#e7e04d',
    950: '#000000',
  },
}
SCSS
$custom: #e7e04d;
$custom-light: #f2e987;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e04d",
  "rgb": {
    "r": 231,
    "g": 224,
    "b": 77
  },
  "hsl": {
    "h": 57.273,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88643,
    "c": 0.16277,
    "h": 106.6
  },
  "luminance": 0.70836
}

Semantic roles & 50–950 ramp

primary
#E7E04D
secondary
#3238A6
accent
#16D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E04D

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

Preview Lab → · Contrast checker → · Palette generator →

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