#D5D35F#D5D35F

#D5D35F is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.6% C 0.138 H 108.1°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D5D35F
RGBrgb(213, 211, 95)
HSLhsl(59, 58%, 60%)
HSVhsv(59, 55%, 84%)
CMYKcmyk(0%, 0.9%, 55.4%, 16.5%)
CIE-LABlab(82.68, -14.32, 56.59)
CIE-LCHlch(82.68, 58.37, 104.20°)
OKLaboklab(84.57% -0.043 0.1314)
OKLCHoklch(84.57% 0.138 108.1)
XYZxyz(52.8019, 61.5623, 19.9255)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D35F #5F61D5
analogous
#D5985F #D5D35F #9CD55F
triadic
#D5D35F #5FD5D3 #D35FD5
tetradic
#D5D35F #5FD598 #5F61D5 #D55F9C
square
#D5D35F #5FD598 #5F61D5 #D55F9C
split-complementary
#D5D35F #5F9CD5 #985FD5
monochromatic
#939127 #C3C133 #D5D35F #E2E08F #EEEEC0

Accessibility & contrast

On white

1.58
#D5D35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#D5D35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D35F
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D35F#FFFFFF#000000##000000
##D5D35F1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB53
Deuteranopia (green-blind)
#E4D065
Tritanopia (blue-blind)
#E3C7BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d35f;
/* rgb */ color: rgb(213, 211, 95);
/* oklch */ color: oklch(84.6% 0.138 108.1);
Tailwind
colors: {
  custom: {
    50: '#e4e090',
    500: '#d5d35f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d35f;
$custom-light: #e4e090;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d35f",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 95
  },
  "hsl": {
    "h": 58.983,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84574,
    "c": 0.1382,
    "h": 108.1
  },
  "luminance": 0.61561
}

Semantic roles & 50–950 ramp

primary
#D5D35F
secondary
#404198
accent
#22C61F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D35F

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

Preview Lab → · Contrast checker → · Palette generator →

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