#D1D23D#D1D23D

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

Color values

HEX#D1D23D
RGBrgb(209, 210, 61)
HSLhsl(60, 62%, 53%)
HSVhsv(60, 71%, 82%)
CMYKcmyk(0.5%, 0%, 71%, 17.6%)
CIE-LABlab(81.83, -17.56, 69.32)
CIE-LCHlch(81.83, 71.51, 104.22°)
OKLaboklab(83.73% -0.0554 0.1534)
OKLCHoklch(83.73% 0.163 109.8)
XYZxyz(50.1852, 59.9869, 13.3490)
Luminance0.5998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D23D #3E3DD2
analogous
#D2893D #D1D23D #86D23D
triadic
#D1D23D #3DD1D2 #D23DD1
tetradic
#D1D23D #3DD289 #3E3DD2 #D23D86
square
#D1D23D #3DD289 #3E3DD2 #D23D86
split-complementary
#D1D23D #3D86D2 #893DD2
monochromatic
#78791C #A9AA28 #D1D23D #DDDE6F #E9E9A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1D23D#FFFFFF#000000##000000
##D1D23D1.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)
#E3C922
Deuteranopia (green-blind)
#E4CE48
Tritanopia (blue-blind)
#E0C5B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d23d;
/* rgb */ color: rgb(209, 210, 61);
/* oklch */ color: oklch(83.7% 0.163 109.8);
Tailwind
colors: {
  custom: {
    50: '#e3df7c',
    500: '#d1d23d',
    950: '#000000',
  },
}
SCSS
$custom: #d1d23d;
$custom-light: #e3df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d23d",
  "rgb": {
    "r": 209,
    "g": 210,
    "b": 61
  },
  "hsl": {
    "h": 60.403,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83734,
    "c": 0.16312,
    "h": 109.8
  },
  "luminance": 0.59985
}

Semantic roles & 50–950 ramp

primary
#D1D23D
secondary
#333281
accent
#42E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1D23D

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

Preview Lab → · Contrast checker → · Palette generator →

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