#E7E581#E7E581

#E7E581 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.2% C 0.123 H 107.6°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#E7E581
RGBrgb(231, 229, 129)
HSLhsl(59, 68%, 71%)
HSVhsv(59, 44%, 91%)
CMYKcmyk(0%, 0.9%, 44.2%, 9.4%)
CIE-LABlab(89.21, -13.12, 48.78)
CIE-LCHlch(89.21, 50.52, 105.06°)
OKLaboklab(90.24% -0.0372 0.1171)
OKLCHoklch(90.24% 0.123 107.6)
XYZxyz(64.9380, 74.6141, 31.7458)
Luminance0.7461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E581 #8183E7
analogous
#E7B281 #E7E581 #B6E781
triadic
#E7E581 #81E7E5 #E581E7
tetradic
#E7E581 #81E7B2 #8183E7 #E781B6
square
#E7E581 #81E7B2 #8183E7 #E781B6
split-complementary
#E7E581 #81B6E7 #B281E7
monochromatic
#C8C426 #DDDA4E #E7E581 #F1F0B4 #FAFAE5

Accessibility & contrast

On white

1.32
#E7E581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#E7E581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E581
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E581#FFFFFF#000000##000000
##E7E5811.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE79
Deuteranopia (green-blind)
#F6E286
Tritanopia (blue-blind)
#F4DACD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e7e581;
/* rgb */ color: rgb(231, 229, 129);
/* oklch */ color: oklch(90.2% 0.123 107.6);
Tailwind
colors: {
  custom: {
    50: '#f0eda7',
    500: '#e7e581',
    950: '#000000',
  },
}
SCSS
$custom: #e7e581;
$custom-light: #f0eda7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e581",
  "rgb": {
    "r": 231,
    "g": 229,
    "b": 129
  },
  "hsl": {
    "h": 58.824,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90242,
    "c": 0.12284,
    "h": 107.6
  },
  "luminance": 0.74613
}

Semantic roles & 50–950 ramp

primary
#E7E581
secondary
#4D4FC0
accent
#19D016
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #E7E581

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

Preview Lab → · Contrast checker → · Palette generator →

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