#D5D03D#D5D03D

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

Color values

HEX#D5D03D
RGBrgb(213, 208, 61)
HSLhsl(58, 64%, 54%)
HSVhsv(58, 71%, 84%)
CMYKcmyk(0%, 2.3%, 71.4%, 16.5%)
CIE-LABlab(81.62, -14.89, 69.22)
CIE-LCHlch(81.62, 70.81, 102.14°)
OKLaboklab(83.64% -0.0481 0.1531)
OKLCHoklch(83.64% 0.16 107.4)
XYZxyz(50.8407, 59.5965, 13.2392)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D03D #3D42D5
analogous
#D5843D #D5D03D #8ED53D
triadic
#D5D03D #3DD5D0 #D03DD5
tetradic
#D5D03D #3DD584 #3D42D5 #D53D8E
square
#D5D03D #3DD584 #3D42D5 #D53D8E
split-complementary
#D5D03D #3D8ED5 #843DD5
monochromatic
#7D791B #AFAA26 #D5D03D #E0DC6F #EBE8A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D03D#FFFFFF#000000##000000
##D5D03D1.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)
#E1C822
Deuteranopia (green-blind)
#E4CD48
Tritanopia (blue-blind)
#E4C2B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5d03d;
/* rgb */ color: rgb(213, 208, 61);
/* oklch */ color: oklch(83.6% 0.160 107.4);
Tailwind
colors: {
  custom: {
    50: '#e6de7c',
    500: '#d5d03d',
    950: '#000000',
  },
}
SCSS
$custom: #d5d03d;
$custom-light: #e6de7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d03d",
  "rgb": {
    "r": 213,
    "g": 208,
    "b": 61
  },
  "hsl": {
    "h": 58.026,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.83643,
    "c": 0.16048,
    "h": 107.4
  },
  "luminance": 0.59595
}

Semantic roles & 50–950 ramp

primary
#D5D03D
secondary
#323584
accent
#46E740
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5D03D

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

Preview Lab → · Contrast checker → · Palette generator →

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