#E6D381#E6D381

#E6D381 is a very light, moderate yellow. Relative luminance 0.650; OKLCH L 86.5% C 0.105 H 96.7°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#E6D381
RGBrgb(230, 211, 129)
HSLhsl(49, 67%, 70%)
HSVhsv(49, 44%, 90%)
CMYKcmyk(0%, 8.3%, 43.9%, 9.8%)
CIE-LABlab(84.48, -4.46, 42.88)
CIE-LCHlch(84.48, 43.11, 95.93°)
OKLaboklab(86.47% -0.0122 0.1039)
OKLCHoklch(86.47% 0.105 96.7)
XYZxyz(59.8914, 64.9986, 30.1558)
Luminance0.6500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D381 #8194E6
analogous
#E6A081 #E6D381 #C6E681
triadic
#E6D381 #81E6D3 #D381E6
tetradic
#E6D381 #81E6A0 #8194E6 #E681C6
square
#E6D381 #81E6A0 #8194E6 #E681C6
split-complementary
#E6D381 #81C6E6 #A081E6
monochromatic
#C5A827 #DCC14E #E6D381 #F0E5B4 #FAF6E5

Accessibility & contrast

On white

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

On black

14.00
#E6D381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D381
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D381#FFFFFF#000000##000000
##E6D3811.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e6d381;
/* rgb */ color: rgb(230, 211, 129);
/* oklch */ color: oklch(86.5% 0.105 96.7);
Tailwind
colors: {
  custom: {
    50: '#efe0a7',
    500: '#e6d381',
    950: '#000000',
  },
}
SCSS
$custom: #e6d381;
$custom-light: #efe0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d381",
  "rgb": {
    "r": 230,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 48.713,
    "s": 66.887,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86472,
    "c": 0.10458,
    "h": 96.7
  },
  "luminance": 0.64997
}

Semantic roles & 50–950 ramp

primary
#E6D381
secondary
#4D62BE
accent
#39CF17
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E6D381

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

Preview Lab → · Contrast checker → · Palette generator →

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