#D8D07E#D8D07E

#D8D07E is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.6% C 0.104 H 103.5°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#D8D07E
RGBrgb(216, 208, 126)
HSLhsl(55, 54%, 67%)
HSVhsv(55, 42%, 85%)
CMYKcmyk(0%, 3.7%, 41.7%, 15.3%)
CIE-LABlab(82.50, -8.80, 41.63)
CIE-LCHlch(82.50, 42.55, 101.94°)
OKLaboklab(84.6% -0.0243 0.101)
OKLCHoklch(84.6% 0.104 103.5)
XYZxyz(54.6417, 61.2185, 28.6726)
Luminance0.6122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D07E #7E86D8
analogous
#D8A37E #D8D07E #B3D87E
triadic
#D8D07E #7ED8D0 #D07ED8
tetradic
#D8D07E #7ED8A3 #7E86D8 #D87EB3
square
#D8D07E #7ED8A3 #7E86D8 #D87EB3
split-complementary
#D8D07E #7EB3D8 #A37ED8
monochromatic
#A99E33 #CABF4F #D8D07E #E6E1AD #F4F2DC

Accessibility & contrast

On white

1.59
#D8D07E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#D8D07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D07E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D07E#FFFFFF#000000##000000
##D8D07E1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB78
Deuteranopia (green-blind)
#E0CF81
Tritanopia (blue-blind)
#E4C6BC
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d07e;
/* rgb */ color: rgb(216, 208, 126);
/* oklch */ color: oklch(84.6% 0.104 103.5);
Tailwind
colors: {
  custom: {
    50: '#e5dea4',
    500: '#d8d07e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d07e;
$custom-light: #e5dea4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d07e",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 126
  },
  "hsl": {
    "h": 54.667,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84604,
    "c": 0.10389,
    "h": 103.5
  },
  "luminance": 0.61217
}

Semantic roles & 50–950 ramp

primary
#D8D07E
secondary
#4E57AC
accent
#32C124
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D8D07E

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

Preview Lab → · Contrast checker → · Palette generator →

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