#D8D13F#D8D13F

#D8D13F is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.160 H 106.6°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D8D13F
RGBrgb(216, 209, 63)
HSLhsl(57, 66%, 55%)
HSVhsv(57, 71%, 85%)
CMYKcmyk(0%, 3.2%, 70.8%, 15.3%)
CIE-LABlab(82.14, -14.04, 69.11)
CIE-LCHlch(82.14, 70.52, 101.48°)
OKLaboklab(84.12% -0.0457 0.1531)
OKLCHoklch(84.12% 0.16 106.6)
XYZxyz(52.0186, 60.5606, 13.6509)
Luminance0.6056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D13F #3F46D8
analogous
#D8853F #D8D13F #93D83F
triadic
#D8D13F #3FD8D1 #D13FD8
tetradic
#D8D13F #3FD885 #3F46D8 #D83F93
square
#D8D13F #3FD885 #3F46D8 #D83F93
split-complementary
#D8D13F #3F93D8 #853FD8
monochromatic
#827D1A #B5AE25 #D8D13F #E2DD72 #EDE9A5

Accessibility & contrast

On white

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

On black

13.11
#D8D13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D13F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D13F#FFFFFF#000000##000000
##D8D13F1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C926
Deuteranopia (green-blind)
#E6CF49
Tritanopia (blue-blind)
#E8C3B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d13f;
/* rgb */ color: rgb(216, 209, 63);
/* oklch */ color: oklch(84.1% 0.160 106.6);
Tailwind
colors: {
  custom: {
    50: '#e8de7e',
    500: '#d8d13f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d13f;
$custom-light: #e8de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d13f",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 63
  },
  "hsl": {
    "h": 57.255,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84123,
    "c": 0.15978,
    "h": 106.6
  },
  "luminance": 0.60559
}

Semantic roles & 50–950 ramp

primary
#D8D13F
secondary
#323689
accent
#46E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D8D13F

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

Preview Lab → · Contrast checker → · Palette generator →

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