#D5D039#D5D039

#D5D039 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.6% C 0.163 H 107.5°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D5D039
RGBrgb(213, 208, 57)
HSLhsl(58, 65%, 53%)
HSVhsv(58, 73%, 84%)
CMYKcmyk(0%, 2.3%, 73.2%, 16.5%)
CIE-LABlab(81.60, -15.07, 70.57)
CIE-LCHlch(81.60, 72.16, 102.05°)
OKLaboklab(83.62% -0.049 0.1552)
OKLCHoklch(83.62% 0.163 107.5)
XYZxyz(50.7370, 59.5550, 12.6928)
Luminance0.5955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D039 #393ED5
analogous
#D58239 #D5D039 #8CD539
triadic
#D5D039 #39D5D0 #D039D5
tetradic
#D5D039 #39D582 #393ED5 #D5398C
square
#D5D039 #39D582 #393ED5 #D5398C
split-complementary
#D5D039 #398CD5 #8239D5
monochromatic
#7A771A #ACA825 #D5D039 #E0DC6B #EAE89E

Accessibility & contrast

On white

1.63
#D5D039 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#D5D039 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D039
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D039#FFFFFF#000000##000000
##D5D0391.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C81A
Deuteranopia (green-blind)
#E4CD45
Tritanopia (blue-blind)
#E5C2B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5d039;
/* rgb */ color: rgb(213, 208, 57);
/* oklch */ color: oklch(83.6% 0.163 107.5);
Tailwind
colors: {
  custom: {
    50: '#e6de7a',
    500: '#d5d039',
    950: '#000000',
  },
}
SCSS
$custom: #d5d039;
$custom-light: #e6de7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d039",
  "rgb": {
    "r": 213,
    "g": 208,
    "b": 57
  },
  "hsl": {
    "h": 58.077,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.83617,
    "c": 0.16278,
    "h": 107.5
  },
  "luminance": 0.59553
}

Semantic roles & 50–950 ramp

primary
#D5D039
secondary
#313382
accent
#45E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5D039

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

Preview Lab → · Contrast checker → · Palette generator →

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