#E7E04A#E7E04A

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

Color values

HEX#E7E04A
RGBrgb(231, 224, 74)
HSLhsl(57, 77%, 60%)
HSVhsv(57, 68%, 91%)
CMYKcmyk(0%, 3%, 68%, 9.4%)
CIE-LABlab(87.39, -14.70, 70.69)
CIE-LCHlch(87.39, 72.20, 101.75°)
OKLaboklab(88.62% -0.0473 0.1578)
OKLCHoklch(88.62% 0.165 106.7)
XYZxyz(60.8490, 70.7967, 16.9371)
Luminance0.7079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E04A #4A51E7
analogous
#E7924A #E7E04A #9FE74A
triadic
#E7E04A #4AE7E0 #E04AE7
tetradic
#E7E04A #4AE792 #4A51E7 #E74A9F
square
#E7E04A #4AE792 #4A51E7 #E74A9F
split-complementary
#E7E04A #4A9FE7 #924AE7
monochromatic
#A19B15 #D7CF1D #E7E04A #EEE980 #F5F3B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7E04A#FFFFFF#000000##000000
##E7E04A1.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)
#F3D833
Deuteranopia (green-blind)
#F6DE54
Tritanopia (blue-blind)
#F7D2C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7e04a;
/* rgb */ color: rgb(231, 224, 74);
/* oklch */ color: oklch(88.6% 0.165 106.7);
Tailwind
colors: {
  custom: {
    50: '#f2e985',
    500: '#e7e04a',
    950: '#000000',
  },
}
SCSS
$custom: #e7e04a;
$custom-light: #f2e985;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e04a",
  "rgb": {
    "r": 231,
    "g": 224,
    "b": 74
  },
  "hsl": {
    "h": 57.325,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.88621,
    "c": 0.16475,
    "h": 106.7
  },
  "luminance": 0.70795
}

Semantic roles & 50–950 ramp

primary
#E7E04A
secondary
#3137A4
accent
#3DF335
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E04A

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

Preview Lab → · Contrast checker → · Palette generator →

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