#E7D381#E7D381

#E7D381 is a very light, moderate yellow. Relative luminance 0.652; OKLCH L 86.6% C 0.105 H 96.1°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#E7D381
RGBrgb(231, 211, 129)
HSLhsl(48, 68%, 71%)
HSVhsv(48, 44%, 91%)
CMYKcmyk(0%, 8.7%, 44.2%, 9.4%)
CIE-LABlab(84.57, -4.06, 43.01)
CIE-LCHlch(84.57, 43.20, 95.39°)
OKLaboklab(86.56% -0.0111 0.1041)
OKLCHoklch(86.56% 0.105 96.1)
XYZxyz(60.2133, 65.1646, 30.1709)
Luminance0.6516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D381 #8195E7
analogous
#E7A081 #E7D381 #C8E781
triadic
#E7D381 #81E7D3 #D381E7
tetradic
#E7D381 #81E7A0 #8195E7 #E781C8
square
#E7D381 #81E7A0 #8195E7 #E781C8
split-complementary
#E7D381 #81C8E7 #A081E7
monochromatic
#C8A826 #DDC14E #E7D381 #F1E5B4 #FAF6E5

Accessibility & contrast

On white

1.50
#E7D381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#E7D381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D381
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D381#FFFFFF#000000##000000
##E7D3811.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7B
Deuteranopia (green-blind)
#E8D684
Tritanopia (blue-blind)
#F5C8BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d381;
/* rgb */ color: rgb(231, 211, 129);
/* oklch */ color: oklch(86.6% 0.105 96.1);
Tailwind
colors: {
  custom: {
    50: '#f0e0a7',
    500: '#e7d381',
    950: '#000000',
  },
}
SCSS
$custom: #e7d381;
$custom-light: #f0e0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d381",
  "rgb": {
    "r": 231,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 48.235,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8656,
    "c": 0.10473,
    "h": 96.1
  },
  "luminance": 0.65162
}

Semantic roles & 50–950 ramp

primary
#E7D381
secondary
#4D63C0
accent
#3AD016
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D381

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

Preview Lab → · Contrast checker → · Palette generator →

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