#D8D147#D8D147

#D8D147 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.155 H 106.4°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#D8D147
RGBrgb(216, 209, 71)
HSLhsl(57, 65%, 56%)
HSVhsv(57, 67%, 85%)
CMYKcmyk(0%, 3.2%, 67.1%, 15.3%)
CIE-LABlab(82.19, -13.63, 66.20)
CIE-LCHlch(82.19, 67.59, 101.64°)
OKLaboklab(84.18% -0.0437 0.1483)
OKLCHoklch(84.18% 0.155 106.4)
XYZxyz(52.2587, 60.6566, 14.9151)
Luminance0.6066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D147 #474ED8
analogous
#D88947 #D8D147 #97D847
triadic
#D8D147 #47D8D1 #D147D8
tetradic
#D8D147 #47D889 #474ED8 #D84797
square
#D8D147 #47D889 #474ED8 #D84797
split-complementary
#D8D147 #4797D8 #8947D8
monochromatic
#88831D #BAB327 #D8D147 #E3DE79 #EDEAAC

Accessibility & contrast

On white

1.60
#D8D147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#D8D147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D147
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D147#FFFFFF#000000##000000
##D8D1471.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C933
Deuteranopia (green-blind)
#E5CF50
Tritanopia (blue-blind)
#E7C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d147;
/* rgb */ color: rgb(216, 209, 71);
/* oklch */ color: oklch(84.2% 0.155 106.4);
Tailwind
colors: {
  custom: {
    50: '#e7de82',
    500: '#d8d147',
    950: '#000000',
  },
}
SCSS
$custom: #d8d147;
$custom-light: #e7de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d147",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 71
  },
  "hsl": {
    "h": 57.103,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84181,
    "c": 0.15464,
    "h": 106.4
  },
  "luminance": 0.60655
}

Semantic roles & 50–950 ramp

primary
#D8D147
secondary
#35398E
accent
#48E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D147

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

Preview Lab → · Contrast checker → · Palette generator →

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