#D5D03F#D5D03F

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

Color values

HEX#D5D03F
RGBrgb(213, 208, 63)
HSLhsl(58, 64%, 54%)
HSVhsv(58, 70%, 84%)
CMYKcmyk(0%, 2.3%, 70.4%, 16.5%)
CIE-LABlab(81.63, -14.80, 68.53)
CIE-LCHlch(81.63, 70.11, 102.18°)
OKLaboklab(83.66% -0.0477 0.152)
OKLCHoklch(83.66% 0.159 107.4)
XYZxyz(50.8956, 59.6185, 13.5282)
Luminance0.5962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D03F #3F44D5
analogous
#D5853F #D5D03F #8FD53F
triadic
#D5D03F #3FD5D0 #D03FD5
tetradic
#D5D03F #3FD585 #3F44D5 #D53F8F
square
#D5D03F #3FD585 #3F44D5 #D53F8F
split-complementary
#D5D03F #3F8FD5 #853FD5
monochromatic
#7E7B1C #B0AC27 #D5D03F #E0DC71 #EBE9A3

Accessibility & contrast

On white

1.62
#D5D03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D03F#FFFFFF#000000##000000
##D5D03F1.001.6212.9212.92
#FFFFFF1.621.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C826
Deuteranopia (green-blind)
#E4CD49
Tritanopia (blue-blind)
#E4C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5d03f;
/* rgb */ color: rgb(213, 208, 63);
/* oklch */ color: oklch(83.7% 0.159 107.4);
Tailwind
colors: {
  custom: {
    50: '#e6de7d',
    500: '#d5d03f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d03f;
$custom-light: #e6de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d03f",
  "rgb": {
    "r": 213,
    "g": 208,
    "b": 63
  },
  "hsl": {
    "h": 58,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.83656,
    "c": 0.15928,
    "h": 107.4
  },
  "luminance": 0.59617
}

Semantic roles & 50–950 ramp

primary
#D5D03F
secondary
#333685
accent
#46E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5D03F

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

Preview Lab → · Contrast checker → · Palette generator →

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