#D2D22D#D2D22D

#D2D22D is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.7% C 0.171 H 109.6°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#D2D22D
RGBrgb(210, 210, 45)
HSLhsl(60, 65%, 50%)
HSVhsv(60, 79%, 82%)
CMYKcmyk(0%, 0%, 78.6%, 17.6%)
CIE-LABlab(81.83, -17.79, 74.35)
CIE-LCHlch(81.83, 76.45, 103.45°)
OKLaboklab(83.73% -0.0574 0.1613)
OKLCHoklch(83.73% 0.171 109.6)
XYZxyz(50.1005, 59.9858, 11.4214)
Luminance0.5998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D22D #2D2DD2
analogous
#D2802D #D2D22D #80D22D
triadic
#D2D22D #2DD2D2 #D22DD2
tetradic
#D2D22D #2DD280 #2D2DD2 #D22D80
square
#D2D22D #2DD280 #2D2DD2 #D22D80
split-complementary
#D2D22D #2D7FD2 #7F2DD2
monochromatic
#6D6D17 #A0A022 #D2D22D #DDDD5F #E8E892

Accessibility & contrast

On white

1.62
#D2D22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#D2D22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D22D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D22D#FFFFFF#000000##000000
##D2D22D1.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C900
Deuteranopia (green-blind)
#E5CE3C
Tritanopia (blue-blind)
#E1C4B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d22d;
/* rgb */ color: rgb(210, 210, 45);
/* oklch */ color: oklch(83.7% 0.171 109.6);
Tailwind
colors: {
  custom: {
    50: '#e4df75',
    500: '#d2d22d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d22d;
$custom-light: #e4df75;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d22d",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 64.706,
    "l": 50
  },
  "oklch": {
    "l": 0.83727,
    "c": 0.17118,
    "h": 109.6
  },
  "luminance": 0.59984
}

Semantic roles & 50–950 ramp

primary
#D2D22D
secondary
#2D2D77
accent
#40E840
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D2D22D

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

Preview Lab → · Contrast checker → · Palette generator →

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