#D8D434#D8D434

#D8D434 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.7% C 0.169 H 108.0°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#D8D434
RGBrgb(216, 212, 52)
HSLhsl(59, 68%, 53%)
HSVhsv(59, 76%, 85%)
CMYKcmyk(0%, 1.9%, 75.9%, 15.3%)
CIE-LABlab(82.88, -16.00, 73.44)
CIE-LCHlch(82.88, 75.16, 102.29°)
OKLaboklab(84.69% -0.0522 0.1603)
OKLCHoklch(84.69% 0.169 108)
XYZxyz(52.4843, 61.9356, 12.4383)
Luminance0.6193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D434 #3438D8
analogous
#D88234 #D8D434 #8AD834
triadic
#D8D434 #34D8D4 #D434D8
tetradic
#D8D434 #34D882 #3438D8 #D8348A
square
#D8D434 #34D882 #3438D8 #D8348A
split-complementary
#D8D434 #348AD8 #8234D8
monochromatic
#7A7817 #ADAA21 #D8D434 #E2DF67 #ECEA9B

Accessibility & contrast

On white

1.57
#D8D434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#D8D434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D434
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D434#FFFFFF#000000##000000
##D8D4341.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB06
Deuteranopia (green-blind)
#E9D141
Tritanopia (blue-blind)
#E8C6B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d434;
/* rgb */ color: rgb(216, 212, 52);
/* oklch */ color: oklch(84.7% 0.169 108.0);
Tailwind
colors: {
  custom: {
    50: '#e8e079',
    500: '#d8d434',
    950: '#000000',
  },
}
SCSS
$custom: #d8d434;
$custom-light: #e8e079;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d434",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 52
  },
  "hsl": {
    "h": 58.537,
    "s": 67.769,
    "l": 52.549
  },
  "oklch": {
    "l": 0.84692,
    "c": 0.1686,
    "h": 108
  },
  "luminance": 0.61934
}

Semantic roles & 50–950 ramp

primary
#D8D434
secondary
#2E3082
accent
#41EB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D8D434

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

Preview Lab → · Contrast checker → · Palette generator →

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