#D8D145#D8D145

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

Color values

HEX#D8D145
RGBrgb(216, 209, 69)
HSLhsl(57, 65%, 56%)
HSVhsv(57, 68%, 85%)
CMYKcmyk(0%, 3.2%, 68.1%, 15.3%)
CIE-LABlab(82.18, -13.74, 66.95)
CIE-LCHlch(82.18, 68.34, 101.60°)
OKLaboklab(84.17% -0.0443 0.1496)
OKLCHoklch(84.17% 0.156 106.5)
XYZxyz(52.1955, 60.6313, 14.5827)
Luminance0.6063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D145 #454CD8
analogous
#D88745 #D8D145 #95D845
triadic
#D8D145 #45D8D1 #D145D8
tetradic
#D8D145 #45D887 #454CD8 #D84595
square
#D8D145 #45D887 #454CD8 #D84595
split-complementary
#D8D145 #4595D8 #8745D8
monochromatic
#86811C #B9B227 #D8D145 #E3DE78 #EDEAAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D145#FFFFFF#000000##000000
##D8D1451.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)
#E2C930
Deuteranopia (green-blind)
#E6CF4E
Tritanopia (blue-blind)
#E7C3B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d145;
/* rgb */ color: rgb(216, 209, 69);
/* oklch */ color: oklch(84.2% 0.156 106.5);
Tailwind
colors: {
  custom: {
    50: '#e8de81',
    500: '#d8d145',
    950: '#000000',
  },
}
SCSS
$custom: #d8d145;
$custom-light: #e8de81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d145",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 69
  },
  "hsl": {
    "h": 57.143,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84166,
    "c": 0.15598,
    "h": 106.5
  },
  "luminance": 0.6063
}

Semantic roles & 50–950 ramp

primary
#D8D145
secondary
#34398D
accent
#48E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D145

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

Preview Lab → · Contrast checker → · Palette generator →

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