#E7E05F#E7E05F

#E7E05F is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 88.8% C 0.149 H 106.2°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#E7E05F
RGBrgb(231, 224, 95)
HSLhsl(57, 74%, 64%)
HSVhsv(57, 59%, 91%)
CMYKcmyk(0%, 3%, 58.9%, 9.4%)
CIE-LABlab(87.55, -13.44, 62.42)
CIE-LCHlch(87.55, 63.85, 102.16°)
OKLaboklab(88.8% -0.0415 0.1434)
OKLCHoklch(88.8% 0.149 106.2)
XYZxyz(61.6782, 71.1284, 21.3044)
Luminance0.7113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E05F #5F66E7
analogous
#E79C5F #E7E05F #AAE75F
triadic
#E7E05F #5FE7E0 #E05FE7
tetradic
#E7E05F #5FE79C #5F66E7 #E75FAA
square
#E7E05F #5FE79C #5F66E7 #E75FAA
split-complementary
#E7E05F #5FAAE7 #9C5FE7
monochromatic
#B1A91B #DFD62A #E7E05F #EFEA94 #F7F5C9

Accessibility & contrast

On white

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

On black

15.23
#E7E05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E05F
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E05F#FFFFFF#000000##000000
##E7E05F1.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D851
Deuteranopia (green-blind)
#F5DE66
Tritanopia (blue-blind)
#F6D3C4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7e05f;
/* rgb */ color: rgb(231, 224, 95);
/* oklch */ color: oklch(88.8% 0.149 106.2);
Tailwind
colors: {
  custom: {
    50: '#f1e991',
    500: '#e7e05f',
    950: '#000000',
  },
}
SCSS
$custom: #e7e05f;
$custom-light: #f1e991;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e05f",
  "rgb": {
    "r": 231,
    "g": 224,
    "b": 95
  },
  "hsl": {
    "h": 56.912,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88801,
    "c": 0.14931,
    "h": 106.2
  },
  "luminance": 0.71126
}

Semantic roles & 50–950 ramp

primary
#E7E05F
secondary
#393FB2
accent
#1AD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E05F

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

Preview Lab → · Contrast checker → · Palette generator →

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