#D5D352#D5D352

#D5D352 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.4% C 0.149 H 108.4°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#D5D352
RGBrgb(213, 211, 82)
HSLhsl(59, 61%, 58%)
HSVhsv(59, 62%, 84%)
CMYKcmyk(0%, 0.9%, 61.5%, 16.5%)
CIE-LABlab(82.56, -15.23, 62.10)
CIE-LCHlch(82.56, 63.94, 103.78°)
OKLaboklab(84.44% -0.0469 0.1414)
OKLCHoklch(84.44% 0.149 108.4)
XYZxyz(52.2595, 61.3454, 17.0690)
Luminance0.6134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D352 #5254D5
analogous
#D59152 #D5D352 #95D552
triadic
#D5D352 #52D5D3 #D352D5
tetradic
#D5D352 #52D591 #5254D5 #D55295
square
#D5D352 #52D591 #5254D5 #D55295
split-complementary
#D5D352 #5295D5 #9152D5
monochromatic
#8B8922 #BCBA2E #D5D352 #E1E083 #EDECB4

Accessibility & contrast

On white

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

On black

13.27
#D5D352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D352
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D352#FFFFFF#000000##000000
##D5D3521.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E5D05A
Tritanopia (blue-blind)
#E3C6B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d352;
/* rgb */ color: rgb(213, 211, 82);
/* oklch */ color: oklch(84.4% 0.149 108.4);
Tailwind
colors: {
  custom: {
    50: '#e5e088',
    500: '#d5d352',
    950: '#000000',
  },
}
SCSS
$custom: #d5d352;
$custom-light: #e5e088;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d352",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 82
  },
  "hsl": {
    "h": 59.084,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84444,
    "c": 0.14899,
    "h": 108.4
  },
  "luminance": 0.61344
}

Semantic roles & 50–950 ramp

primary
#D5D352
secondary
#3A3C91
accent
#46E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D352

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

Preview Lab → · Contrast checker → · Palette generator →

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