#D1D23C#D1D23C

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

Color values

HEX#D1D23C
RGBrgb(209, 210, 60)
HSLhsl(60, 63%, 53%)
HSVhsv(60, 71%, 82%)
CMYKcmyk(0.5%, 0%, 71.4%, 17.6%)
CIE-LABlab(81.83, -17.61, 69.66)
CIE-LCHlch(81.83, 71.85, 104.19°)
OKLaboklab(83.73% -0.0556 0.154)
OKLCHoklch(83.73% 0.164 109.9)
XYZxyz(50.1585, 59.9762, 13.2085)
Luminance0.5998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D23C #3D3CD2
analogous
#D2883C #D1D23C #86D23C
triadic
#D1D23C #3CD1D2 #D23CD1
tetradic
#D1D23C #3CD288 #3D3CD2 #D23C86
square
#D1D23C #3CD288 #3D3CD2 #D23C86
split-complementary
#D1D23C #3C86D2 #883CD2
monochromatic
#77781C #A9AA27 #D1D23C #DDDD6E #E8E99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d1d23c;
/* rgb */ color: rgb(209, 210, 60);
/* oklch */ color: oklch(83.7% 0.164 109.9);
Tailwind
colors: {
  custom: {
    50: '#e3df7c',
    500: '#d1d23c',
    950: '#000000',
  },
}
SCSS
$custom: #d1d23c;
$custom-light: #e3df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d23c",
  "rgb": {
    "r": 209,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 60.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.83727,
    "c": 0.16371,
    "h": 109.9
  },
  "luminance": 0.59975
}

Semantic roles & 50–950 ramp

primary
#D1D23C
secondary
#333280
accent
#42E643
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1D23C

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

Preview Lab → · Contrast checker → · Palette generator →

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