#D9D058#D9D058

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

Color values

HEX#D9D058
RGBrgb(217, 208, 88)
HSLhsl(56, 63%, 60%)
HSVhsv(56, 59%, 85%)
CMYKcmyk(0%, 4.1%, 59.4%, 14.9%)
CIE-LABlab(82.15, -11.67, 59.18)
CIE-LCHlch(82.15, 60.32, 101.16°)
OKLaboklab(84.21% -0.0364 0.1359)
OKLCHoklch(84.21% 0.141 105)
XYZxyz(52.9344, 60.5698, 18.1334)
Luminance0.6057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D058 #5861D9
analogous
#D99058 #D9D058 #A2D958
triadic
#D9D058 #58D9D0 #D058D9
tetradic
#D9D058 #58D990 #5861D9 #D958A2
square
#D9D058 #58D990 #5861D9 #D958A2
split-complementary
#D9D058 #58A2D9 #9058D9
monochromatic
#958D22 #C7BC2D #D9D058 #E4DE8A #F0ECBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D058#FFFFFF#000000##000000
##D9D0581.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)
#E1C94B
Deuteranopia (green-blind)
#E4CF5F
Tritanopia (blue-blind)
#E8C3B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9d058;
/* rgb */ color: rgb(217, 208, 88);
/* oklch */ color: oklch(84.2% 0.141 105.0);
Tailwind
colors: {
  custom: {
    50: '#e8de8c',
    500: '#d9d058',
    950: '#000000',
  },
}
SCSS
$custom: #d9d058;
$custom-light: #e8de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d058",
  "rgb": {
    "r": 217,
    "g": 208,
    "b": 88
  },
  "hsl": {
    "h": 55.814,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84207,
    "c": 0.14074,
    "h": 105
  },
  "luminance": 0.60568
}

Semantic roles & 50–950 ramp

primary
#D9D058
secondary
#3C429A
accent
#4DE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D058

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

Preview Lab → · Contrast checker → · Palette generator →

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