#D2D53B#D2D53B

#D2D53B is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.4% C 0.167 H 110.6°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#D2D53B
RGBrgb(210, 213, 59)
HSLhsl(61, 65%, 53%)
HSVhsv(61, 72%, 84%)
CMYKcmyk(1.4%, 0%, 72.3%, 16.5%)
CIE-LABlab(82.70, -18.71, 70.86)
CIE-LCHlch(82.70, 73.29, 104.79°)
OKLaboklab(84.45% -0.0588 0.1563)
OKLCHoklch(84.45% 0.167 110.6)
XYZxyz(51.1638, 61.6073, 13.3331)
Luminance0.6161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D53B #3E3BD5
analogous
#D58B3B #D2D53B #85D53B
triadic
#D2D53B #3BD2D5 #D53BD2
tetradic
#D2D53B #3BD58B #3E3BD5 #D53B85
square
#D2D53B #3BD58B #3E3BD5 #D53B85
split-complementary
#D2D53B #3B85D5 #8B3BD5
monochromatic
#797B1A #ABAE25 #D2D53B #DEE06D #E9EBA0

Accessibility & contrast

On white

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

On black

13.32
#D2D53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D53B
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D53B#FFFFFF#000000##000000
##D2D53B1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC1C
Deuteranopia (green-blind)
#E7D047
Tritanopia (blue-blind)
#E1C8B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d53b;
/* rgb */ color: rgb(210, 213, 59);
/* oklch */ color: oklch(84.4% 0.167 110.6);
Tailwind
colors: {
  custom: {
    50: '#e4e17c',
    500: '#d2d53b',
    950: '#000000',
  },
}
SCSS
$custom: #d2d53b;
$custom-light: #e4e17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d53b",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 59
  },
  "hsl": {
    "h": 61.169,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.84447,
    "c": 0.16702,
    "h": 110.6
  },
  "luminance": 0.61606
}

Semantic roles & 50–950 ramp

primary
#D2D53B
secondary
#333183
accent
#40E843
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D53B

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

Preview Lab → · Contrast checker → · Palette generator →

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