#D8D34F#D8D34F

#D8D34F is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.7% C 0.151 H 107.1°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#D8D34F
RGBrgb(216, 211, 79)
HSLhsl(58, 64%, 58%)
HSVhsv(58, 63%, 85%)
CMYKcmyk(0%, 2.3%, 63.4%, 15.3%)
CIE-LABlab(82.78, -14.17, 63.64)
CIE-LCHlch(82.78, 65.20, 102.56°)
OKLaboklab(84.67% -0.0445 0.1442)
OKLCHoklch(84.67% 0.151 107.1)
XYZxyz(53.0263, 61.7537, 16.5220)
Luminance0.6175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D34F #4F54D8
analogous
#D88E4F #D8D34F #99D84F
triadic
#D8D34F #4FD8D3 #D34FD8
tetradic
#D8D34F #4FD88E #4F54D8 #D84F99
square
#D8D34F #4FD88E #4F54D8 #D84F99
split-complementary
#D8D34F #4F99D8 #8E4FD8
monochromatic
#8D891F #BFBA2A #D8D34F #E3E081 #EEECB3

Accessibility & contrast

On white

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

On black

13.35
#D8D34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D34F
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D34F#FFFFFF#000000##000000
##D8D34F1.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3E
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#E7C6B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d34f;
/* rgb */ color: rgb(216, 211, 79);
/* oklch */ color: oklch(84.7% 0.151 107.1);
Tailwind
colors: {
  custom: {
    50: '#e7e086',
    500: '#d8d34f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d34f;
$custom-light: #e7e086;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d34f",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 57.81,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84669,
    "c": 0.15085,
    "h": 107.1
  },
  "luminance": 0.61752
}

Semantic roles & 50–950 ramp

primary
#D8D34F
secondary
#383C93
accent
#47E741
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D34F

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

Preview Lab → · Contrast checker → · Palette generator →

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