#D2D23D#D2D23D

#D2D23D is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.163 H 109.5°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#D2D23D
RGBrgb(210, 210, 61)
HSLhsl(60, 62%, 53%)
HSVhsv(60, 71%, 82%)
CMYKcmyk(0%, 0%, 71%, 17.6%)
CIE-LABlab(81.91, -17.14, 69.42)
CIE-LCHlch(81.91, 71.51, 103.87°)
OKLaboklab(83.82% -0.0543 0.1536)
OKLCHoklch(83.82% 0.163 109.5)
XYZxyz(50.4690, 60.1332, 13.3623)
Luminance0.6013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D23D #3D3DD2
analogous
#D2873D #D2D23D #87D23D
triadic
#D2D23D #3DD2D2 #D23DD2
tetradic
#D2D23D #3DD287 #3D3DD2 #D23D87
square
#D2D23D #3DD287 #3D3DD2 #D23D87
split-complementary
#D2D23D #3D87D2 #873DD2
monochromatic
#79791C #AAAA28 #D2D23D #DEDE6F #E9E9A0

Accessibility & contrast

On white

1.61
#D2D23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#D2D23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D23D
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D23D#FFFFFF#000000##000000
##D2D23D1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C921
Deuteranopia (green-blind)
#E5CE48
Tritanopia (blue-blind)
#E1C5B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d23d;
/* rgb */ color: rgb(210, 210, 61);
/* oklch */ color: oklch(83.8% 0.163 109.5);
Tailwind
colors: {
  custom: {
    50: '#e3df7c',
    500: '#d2d23d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d23d;
$custom-light: #e3df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d23d",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 61
  },
  "hsl": {
    "h": 60,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83817,
    "c": 0.16292,
    "h": 109.5
  },
  "luminance": 0.60132
}

Semantic roles & 50–950 ramp

primary
#D2D23D
secondary
#323281
accent
#42E542
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D2D23D

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

Preview Lab → · Contrast checker → · Palette generator →

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