#E7E04B#E7E04B

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

Color values

HEX#E7E04B
RGBrgb(231, 224, 75)
HSLhsl(57, 76%, 60%)
HSVhsv(57, 68%, 91%)
CMYKcmyk(0%, 3%, 67.5%, 9.4%)
CIE-LABlab(87.39, -14.65, 70.32)
CIE-LCHlch(87.39, 71.83, 101.77°)
OKLaboklab(88.63% -0.047 0.1572)
OKLCHoklch(88.63% 0.164 106.7)
XYZxyz(60.8829, 70.8103, 17.1159)
Luminance0.7081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E04B #4B52E7
analogous
#E7924B #E7E04B #A0E74B
triadic
#E7E04B #4BE7E0 #E04BE7
tetradic
#E7E04B #4BE792 #4B52E7 #E74BA0
square
#E7E04B #4BE792 #4B52E7 #E74BA0
split-complementary
#E7E04B #4BA0E7 #924BE7
monochromatic
#A29C16 #D8D01D #E7E04B #EEE981 #F5F3B7

Accessibility & contrast

On white

1.39
#E7E04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#E7E04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E04B
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E04B#FFFFFF#000000##000000
##E7E04B1.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7e04b;
/* rgb */ color: rgb(231, 224, 75);
/* oklch */ color: oklch(88.6% 0.164 106.7);
Tailwind
colors: {
  custom: {
    50: '#f2e986',
    500: '#e7e04b',
    950: '#000000',
  },
}
SCSS
$custom: #e7e04b;
$custom-light: #f2e986;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e04b",
  "rgb": {
    "r": 231,
    "g": 224,
    "b": 75
  },
  "hsl": {
    "h": 57.308,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.88628,
    "c": 0.1641,
    "h": 106.7
  },
  "luminance": 0.70808
}

Semantic roles & 50–950 ramp

primary
#E7E04B
secondary
#3237A4
accent
#3DF335
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E04B

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

Preview Lab → · Contrast checker → · Palette generator →

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