#D2D423#D2D423

#D2D423 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.1% C 0.177 H 110.4°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#D2D423
RGBrgb(210, 212, 35)
HSLhsl(61, 72%, 48%)
HSVhsv(61, 83%, 83%)
CMYKcmyk(0.9%, 0%, 83.5%, 16.9%)
CIE-LABlab(82.33, -19.07, 77.27)
CIE-LCHlch(82.33, 79.59, 103.86°)
OKLaboklab(84.12% -0.0616 0.1659)
OKLCHoklch(84.12% 0.177 110.4)
XYZxyz(50.4272, 60.9115, 10.6905)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D423 #2523D4
analogous
#D47D23 #D2D423 #79D423
triadic
#D2D423 #23D2D4 #D423D2
tetradic
#D2D423 #23D47D #2523D4 #D42379
square
#D2D423 #23D47D #2523D4 #D42379
split-complementary
#D2D423 #2379D4 #7D23D4
monochromatic
#6A6B12 #9E9F1A #D2D423 #E1E252 #EAEB86

Accessibility & contrast

On white

1.59
#D2D423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#D2D423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D423
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D423#FFFFFF#000000##000000
##D2D4231.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CA00
Deuteranopia (green-blind)
#E7CF36
Tritanopia (blue-blind)
#E1C6B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d423;
/* rgb */ color: rgb(210, 212, 35);
/* oklch */ color: oklch(84.1% 0.177 110.4);
Tailwind
colors: {
  custom: {
    50: '#e4e072',
    500: '#d2d423',
    950: '#000000',
  },
}
SCSS
$custom: #d2d423;
$custom-light: #e4e072;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d423",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 35
  },
  "hsl": {
    "h": 60.678,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.84116,
    "c": 0.17694,
    "h": 110.4
  },
  "luminance": 0.6091
}

Semantic roles & 50–950 ramp

primary
#D2D423
secondary
#282775
accent
#39EE3B
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D2D423

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

Preview Lab → · Contrast checker → · Palette generator →

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