#E7E381#E7E381

#E7E381 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 89.8% C 0.121 H 106.5°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#E7E381
RGBrgb(231, 227, 129)
HSLhsl(58, 68%, 71%)
HSVhsv(58, 44%, 91%)
CMYKcmyk(0%, 1.7%, 44.2%, 9.4%)
CIE-LABlab(88.69, -12.13, 48.14)
CIE-LCHlch(88.69, 49.65, 104.14°)
OKLaboklab(89.83% -0.0343 0.1157)
OKLCHoklch(89.83% 0.121 106.5)
XYZxyz(64.3878, 73.5137, 31.5624)
Luminance0.7351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E381 #8185E7
analogous
#E7B081 #E7E381 #B8E781
triadic
#E7E381 #81E7E3 #E381E7
tetradic
#E7E381 #81E7B0 #8185E7 #E781B8
square
#E7E381 #81E7B0 #8185E7 #E781B8
split-complementary
#E7E381 #81B8E7 #B081E7
monochromatic
#C8C126 #DDD84E #E7E381 #F1EEB4 #FAF9E5

Accessibility & contrast

On white

1.34
#E7E381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.70
#E7E381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E381
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E381#FFFFFF#000000##000000
##E7E3811.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC79
Deuteranopia (green-blind)
#F4E185
Tritanopia (blue-blind)
#F4D8CC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e7e381;
/* rgb */ color: rgb(231, 227, 129);
/* oklch */ color: oklch(89.8% 0.121 106.5);
Tailwind
colors: {
  custom: {
    50: '#f0eba7',
    500: '#e7e381',
    950: '#000000',
  },
}
SCSS
$custom: #e7e381;
$custom-light: #f0eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e381",
  "rgb": {
    "r": 231,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 57.647,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89829,
    "c": 0.12064,
    "h": 106.5
  },
  "luminance": 0.73512
}

Semantic roles & 50–950 ramp

primary
#E7E381
secondary
#4D51C0
accent
#1DD016
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #E7E381

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

Preview Lab → · Contrast checker → · Palette generator →

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