#D2D53F#D2D53F

#D2D53F 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#D2D53F
RGBrgb(210, 213, 63)
HSLhsl(61, 64%, 54%)
HSVhsv(61, 70%, 84%)
CMYKcmyk(1.4%, 0%, 70.4%, 16.5%)
CIE-LABlab(82.73, -18.53, 69.51)
CIE-LCHlch(82.73, 71.94, 104.92°)
OKLaboklab(84.47% -0.0579 0.1542)
OKLCHoklch(84.47% 0.165 110.6)
XYZxyz(51.2715, 61.6504, 13.9006)
Luminance0.6165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D53F #423FD5
analogous
#D58D3F #D2D53F #87D53F
triadic
#D2D53F #3FD2D5 #D53FD2
tetradic
#D2D53F #3FD58D #423FD5 #D53F87
square
#D2D53F #3FD58D #423FD5 #D53F87
split-complementary
#D2D53F #3F87D5 #8D3FD5
monochromatic
#7C7E1C #ADB027 #D2D53F #DEE071 #EAEBA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D53F#FFFFFF#000000##000000
##D2D53F1.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)
#E6CC24
Deuteranopia (green-blind)
#E7D04A
Tritanopia (blue-blind)
#E1C8B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d53f;
/* rgb */ color: rgb(210, 213, 63);
/* oklch */ color: oklch(84.5% 0.165 110.6);
Tailwind
colors: {
  custom: {
    50: '#e3e17e',
    500: '#d2d53f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d53f;
$custom-light: #e3e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d53f",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 63
  },
  "hsl": {
    "h": 61.2,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.84473,
    "c": 0.16469,
    "h": 110.6
  },
  "luminance": 0.61649
}

Semantic roles & 50–950 ramp

primary
#D2D53F
secondary
#343385
accent
#41E744
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D53F

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

Preview Lab → · Contrast checker → · Palette generator →

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