#E7E481#E7E481

#E7E481 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.0% C 0.122 H 107.1°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#E7E481
RGBrgb(231, 228, 129)
HSLhsl(58, 68%, 71%)
HSVhsv(58, 44%, 91%)
CMYKcmyk(0%, 1.3%, 44.2%, 9.4%)
CIE-LABlab(88.95, -12.63, 48.46)
CIE-LCHlch(88.95, 50.08, 104.61°)
OKLaboklab(90.04% -0.0357 0.1164)
OKLCHoklch(90.04% 0.122 107.1)
XYZxyz(64.6621, 74.0623, 31.6538)
Luminance0.7406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E481 #8184E7
analogous
#E7B181 #E7E481 #B7E781
triadic
#E7E481 #81E7E4 #E481E7
tetradic
#E7E481 #81E7B1 #8184E7 #E781B7
square
#E7E481 #81E7B1 #8184E7 #E781B7
split-complementary
#E7E481 #81B7E7 #B181E7
monochromatic
#C8C326 #DDD94E #E7E481 #F1EFB4 #FAF9E5

Accessibility & contrast

On white

1.33
#E7E481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#E7E481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E481
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E481#FFFFFF#000000##000000
##E7E4811.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD79
Deuteranopia (green-blind)
#F5E186
Tritanopia (blue-blind)
#F4D9CC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e7e481;
/* rgb */ color: rgb(231, 228, 129);
/* oklch */ color: oklch(90.0% 0.122 107.1);
Tailwind
colors: {
  custom: {
    50: '#f0eca7',
    500: '#e7e481',
    950: '#000000',
  },
}
SCSS
$custom: #e7e481;
$custom-light: #f0eca7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e481",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 129
  },
  "hsl": {
    "h": 58.235,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90036,
    "c": 0.12173,
    "h": 107.1
  },
  "luminance": 0.74061
}

Semantic roles & 50–950 ramp

primary
#E7E481
secondary
#4D50C0
accent
#1BD016
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #E7E481

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

Preview Lab → · Contrast checker → · Palette generator →

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