#D2D23C#D2D23C

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

Color values

HEX#D2D23C
RGBrgb(210, 210, 60)
HSLhsl(60, 63%, 53%)
HSVhsv(60, 71%, 82%)
CMYKcmyk(0%, 0%, 71.4%, 17.6%)
CIE-LABlab(81.90, -17.19, 69.76)
CIE-LCHlch(81.90, 71.85, 103.84°)
OKLaboklab(83.81% -0.0545 0.1542)
OKLCHoklch(83.81% 0.164 109.5)
XYZxyz(50.4424, 60.1226, 13.2218)
Luminance0.6012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D23C #3C3CD2
analogous
#D2873C #D2D23C #87D23C
triadic
#D2D23C #3CD2D2 #D23CD2
tetradic
#D2D23C #3CD287 #3C3CD2 #D23C87
square
#D2D23C #3CD287 #3C3CD2 #D23C87
split-complementary
#D2D23C #3C87D2 #873CD2
monochromatic
#78781C #AAAA27 #D2D23C #DDDD6E #E9E99F

Accessibility & contrast

On white

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

On black

13.02
#D2D23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D23C
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D23C#FFFFFF#000000##000000
##D2D23C1.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d23c;
/* rgb */ color: rgb(210, 210, 60);
/* oklch */ color: oklch(83.8% 0.164 109.5);
Tailwind
colors: {
  custom: {
    50: '#e4df7c',
    500: '#d2d23c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d23c;
$custom-light: #e4df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d23c",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 60,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.8381,
    "c": 0.16351,
    "h": 109.5
  },
  "luminance": 0.60121
}

Semantic roles & 50–950 ramp

primary
#D2D23C
secondary
#323280
accent
#42E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D23C

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

Preview Lab → · Contrast checker → · Palette generator →

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