#D5D03C#D5D03C

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

Color values

HEX#D5D03C
RGBrgb(213, 208, 60)
HSLhsl(58, 65%, 54%)
HSVhsv(58, 72%, 84%)
CMYKcmyk(0%, 2.3%, 71.8%, 16.5%)
CIE-LABlab(81.61, -14.94, 69.57)
CIE-LCHlch(81.61, 71.15, 102.12°)
OKLaboklab(83.64% -0.0483 0.1537)
OKLCHoklch(83.64% 0.161 107.5)
XYZxyz(50.8140, 59.5859, 13.0986)
Luminance0.5958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D03C #3C41D5
analogous
#D5833C #D5D03C #8DD53C
triadic
#D5D03C #3CD5D0 #D03CD5
tetradic
#D5D03C #3CD583 #3C41D5 #D53C8D
square
#D5D03C #3CD583 #3C41D5 #D53C8D
split-complementary
#D5D03C #3C8DD5 #833CD5
monochromatic
#7C791B #AEAA26 #D5D03C #E0DC6E #EBE8A1

Accessibility & contrast

On white

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

On black

12.92
#D5D03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D03C
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D03C#FFFFFF#000000##000000
##D5D03C1.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C820
Deuteranopia (green-blind)
#E4CD47
Tritanopia (blue-blind)
#E4C2B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5d03c;
/* rgb */ color: rgb(213, 208, 60);
/* oklch */ color: oklch(83.6% 0.161 107.5);
Tailwind
colors: {
  custom: {
    50: '#e6de7c',
    500: '#d5d03c',
    950: '#000000',
  },
}
SCSS
$custom: #d5d03c;
$custom-light: #e6de7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d03c",
  "rgb": {
    "r": 213,
    "g": 208,
    "b": 60
  },
  "hsl": {
    "h": 58.039,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83636,
    "c": 0.16107,
    "h": 107.5
  },
  "luminance": 0.59584
}

Semantic roles & 50–950 ramp

primary
#D5D03C
secondary
#323484
accent
#46E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5D03C

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

Preview Lab → · Contrast checker → · Palette generator →

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