#D5D33A#D5D33A

#D5D33A is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.165 H 108.7°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#D5D33A
RGBrgb(213, 211, 58)
HSLhsl(59, 65%, 53%)
HSVhsv(59, 73%, 84%)
CMYKcmyk(0%, 0.9%, 72.8%, 16.5%)
CIE-LABlab(82.40, -16.52, 70.99)
CIE-LCHlch(82.40, 72.89, 103.10°)
OKLaboklab(84.26% -0.0529 0.1563)
OKLCHoklch(84.26% 0.165 108.7)
XYZxyz(51.5005, 61.0418, 13.0716)
Luminance0.6104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D33A #3A3CD5
analogous
#D5853A #D5D33A #89D53A
triadic
#D5D33A #3AD5D3 #D33AD5
tetradic
#D5D33A #3AD585 #3A3CD5 #D53A89
square
#D5D33A #3AD585 #3A3CD5 #D53A89
split-complementary
#D5D33A #3A89D5 #853AD5
monochromatic
#7A791A #ADAB25 #D5D33A #E0DE6C #EBEA9F

Accessibility & contrast

On white

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

On black

13.21
#D5D33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D33A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D33A#FFFFFF#000000##000000
##D5D33A1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA1A
Deuteranopia (green-blind)
#E7CF46
Tritanopia (blue-blind)
#E4C5B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d33a;
/* rgb */ color: rgb(213, 211, 58);
/* oklch */ color: oklch(84.3% 0.165 108.7);
Tailwind
colors: {
  custom: {
    50: '#e6e07b',
    500: '#d5d33a',
    950: '#000000',
  },
}
SCSS
$custom: #d5d33a;
$custom-light: #e6e07b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d33a",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 58
  },
  "hsl": {
    "h": 59.226,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.84262,
    "c": 0.16504,
    "h": 108.7
  },
  "luminance": 0.6104
}

Semantic roles & 50–950 ramp

primary
#D5D33A
secondary
#313282
accent
#42E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5D33A

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

Preview Lab → · Contrast checker → · Palette generator →

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