#D5D452#D5D452

#D5D452 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.7% C 0.150 H 108.8°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#D5D452
RGBrgb(213, 212, 82)
HSLhsl(60, 61%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0%, 0.5%, 61.5%, 16.5%)
CIE-LABlab(82.83, -15.72, 62.38)
CIE-LCHlch(82.83, 64.33, 104.15°)
OKLaboklab(84.66% -0.0483 0.142)
OKLCHoklch(84.66% 0.15 108.8)
XYZxyz(52.5087, 61.8438, 17.1521)
Luminance0.6184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D452 #5253D5
analogous
#D59252 #D5D452 #94D552
triadic
#D5D452 #52D5D4 #D452D5
tetradic
#D5D452 #52D592 #5253D5 #D55294
square
#D5D452 #52D592 #5253D5 #D55294
split-complementary
#D5D452 #5294D5 #9252D5
monochromatic
#8B8A22 #BCBB2E #D5D452 #E1E083 #EDECB4

Accessibility & contrast

On white

1.57
#D5D452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#D5D452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D452
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D452#FFFFFF#000000##000000
##D5D4521.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#E3C7B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d452;
/* rgb */ color: rgb(213, 212, 82);
/* oklch */ color: oklch(84.7% 0.150 108.8);
Tailwind
colors: {
  custom: {
    50: '#e5e188',
    500: '#d5d452',
    950: '#000000',
  },
}
SCSS
$custom: #d5d452;
$custom-light: #e5e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d452",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 59.542,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84656,
    "c": 0.15001,
    "h": 108.8
  },
  "luminance": 0.61842
}

Semantic roles & 50–950 ramp

primary
#D5D452
secondary
#3A3B91
accent
#45E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D452

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

Preview Lab → · Contrast checker → · Palette generator →

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