#D2D53E#D2D53E

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

Color values

HEX#D2D53E
RGBrgb(210, 213, 62)
HSLhsl(61, 64%, 54%)
HSVhsv(61, 71%, 84%)
CMYKcmyk(1.4%, 0%, 70.9%, 16.5%)
CIE-LABlab(82.72, -18.58, 69.86)
CIE-LCHlch(82.72, 72.28, 104.89°)
OKLaboklab(84.47% -0.0582 0.1547)
OKLCHoklch(84.47% 0.165 110.6)
XYZxyz(51.2438, 61.6393, 13.7547)
Luminance0.6164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D53E #413ED5
analogous
#D58D3E #D2D53E #87D53E
triadic
#D2D53E #3ED2D5 #D53ED2
tetradic
#D2D53E #3ED58D #413ED5 #D53E87
square
#D2D53E #3ED58D #413ED5 #D53E87
split-complementary
#D2D53E #3E87D5 #8D3ED5
monochromatic
#7B7D1B #ADB026 #D2D53E #DEE070 #E9EBA3

Accessibility & contrast

On white

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

On black

13.33
#D2D53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D53E
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D53E#FFFFFF#000000##000000
##D2D53E1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC22
Deuteranopia (green-blind)
#E7D04A
Tritanopia (blue-blind)
#E1C8B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d53e;
/* rgb */ color: rgb(210, 213, 62);
/* oklch */ color: oklch(84.5% 0.165 110.6);
Tailwind
colors: {
  custom: {
    50: '#e3e17d',
    500: '#d2d53e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d53e;
$custom-light: #e3e17d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d53e",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 62
  },
  "hsl": {
    "h": 61.192,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.84467,
    "c": 0.16529,
    "h": 110.6
  },
  "luminance": 0.61638
}

Semantic roles & 50–950 ramp

primary
#D2D53E
secondary
#343285
accent
#41E744
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D2D53E

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

Preview Lab → · Contrast checker → · Palette generator →

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