#E7D481#E7D481

#E7D481 is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.8% C 0.106 H 96.8°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#E7D481
RGBrgb(231, 212, 129)
HSLhsl(49, 68%, 71%)
HSVhsv(49, 44%, 91%)
CMYKcmyk(0%, 8.2%, 44.2%, 9.4%)
CIE-LABlab(84.82, -4.57, 43.33)
CIE-LCHlch(84.82, 43.57, 96.02°)
OKLaboklab(86.76% -0.0125 0.1049)
OKLCHoklch(86.76% 0.106 96.8)
XYZxyz(60.4625, 65.6630, 30.2539)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D481 #8194E7
analogous
#E7A181 #E7D481 #C7E781
triadic
#E7D481 #81E7D4 #D481E7
tetradic
#E7D481 #81E7A1 #8194E7 #E781C7
square
#E7D481 #81E7A1 #8194E7 #E781C7
split-complementary
#E7D481 #81C7E7 #A181E7
monochromatic
#C8A926 #DDC24E #E7D481 #F1E6B4 #FAF6E5

Accessibility & contrast

On white

1.49
#E7D481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#E7D481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D481
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D481#FFFFFF#000000##000000
##E7D4811.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D07A
Deuteranopia (green-blind)
#E8D784
Tritanopia (blue-blind)
#F5C9C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d481;
/* rgb */ color: rgb(231, 212, 129);
/* oklch */ color: oklch(86.8% 0.106 96.8);
Tailwind
colors: {
  custom: {
    50: '#f0e1a7',
    500: '#e7d481',
    950: '#000000',
  },
}
SCSS
$custom: #e7d481;
$custom-light: #f0e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d481",
  "rgb": {
    "r": 231,
    "g": 212,
    "b": 129
  },
  "hsl": {
    "h": 48.824,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.86762,
    "c": 0.10562,
    "h": 96.8
  },
  "luminance": 0.65661
}

Semantic roles & 50–950 ramp

primary
#E7D481
secondary
#4D62C0
accent
#38D016
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D481

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

Preview Lab → · Contrast checker → · Palette generator →

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