#D5D345#D5D345

#D5D345 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.3% C 0.158 H 108.6°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#D5D345
RGBrgb(213, 211, 69)
HSLhsl(59, 63%, 55%)
HSVhsv(59, 68%, 84%)
CMYKcmyk(0%, 0.9%, 67.6%, 16.5%)
CIE-LABlab(82.47, -15.99, 67.16)
CIE-LCHlch(82.47, 69.03, 103.39°)
OKLaboklab(84.34% -0.0504 0.1501)
OKLCHoklch(84.34% 0.158 108.6)
XYZxyz(51.8108, 61.1659, 14.7061)
Luminance0.6116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D345 #4547D5
analogous
#D58B45 #D5D345 #8FD545
triadic
#D5D345 #45D5D3 #D345D5
tetradic
#D5D345 #45D58B #4547D5 #D5458F
square
#D5D345 #45D58B #4547D5 #D5458F
split-complementary
#D5D345 #458FD5 #8B45D5
monochromatic
#82811D #B4B229 #D5D345 #E0DF77 #ECEBA9

Accessibility & contrast

On white

1.59
#D5D345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#D5D345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D345
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D345#FFFFFF#000000##000000
##D5D3451.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB2F
Deuteranopia (green-blind)
#E6CF4F
Tritanopia (blue-blind)
#E4C6B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d345;
/* rgb */ color: rgb(213, 211, 69);
/* oklch */ color: oklch(84.3% 0.158 108.6);
Tailwind
colors: {
  custom: {
    50: '#e5e081',
    500: '#d5d345',
    950: '#000000',
  },
}
SCSS
$custom: #d5d345;
$custom-light: #e5e081;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d345",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 69
  },
  "hsl": {
    "h": 59.167,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84336,
    "c": 0.15834,
    "h": 108.6
  },
  "luminance": 0.61164
}

Semantic roles & 50–950 ramp

primary
#D5D345
secondary
#353689
accent
#44E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D345

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

Preview Lab → · Contrast checker → · Palette generator →

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