#D2D34C#D2D34C

#D2D34C is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.1% C 0.154 H 109.7°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#D2D34C
RGBrgb(210, 211, 76)
HSLhsl(60, 61%, 56%)
HSVhsv(60, 64%, 83%)
CMYKcmyk(0.5%, 0%, 64%, 17.3%)
CIE-LABlab(82.28, -16.84, 64.17)
CIE-LCHlch(82.28, 66.35, 104.70°)
OKLaboklab(84.14% -0.0519 0.145)
OKLCHoklch(84.14% 0.154 109.7)
XYZxyz(51.1787, 60.8134, 15.8783)
Luminance0.6081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D34C #4D4CD3
analogous
#D3914C #D2D34C #8FD34C
triadic
#D2D34C #4CD2D3 #D34CD2
tetradic
#D2D34C #4CD391 #4D4CD3 #D34C8F
square
#D2D34C #4CD391 #4D4CD3 #D34C8F
split-complementary
#D2D34C #4C8FD3 #914CD3
monochromatic
#838420 #B4B52D #D2D34C #DEDF7D #EBEBAE

Accessibility & contrast

On white

1.60
#D2D34C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#D2D34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D34C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D34C#FFFFFF#000000##000000
##D2D34C1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3A
Deuteranopia (green-blind)
#E5CF55
Tritanopia (blue-blind)
#E0C6B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d34c;
/* rgb */ color: rgb(210, 211, 76);
/* oklch */ color: oklch(84.1% 0.154 109.7);
Tailwind
colors: {
  custom: {
    50: '#e3e085',
    500: '#d2d34c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d34c;
$custom-light: #e3e085;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d34c",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 76
  },
  "hsl": {
    "h": 60.444,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84142,
    "c": 0.15401,
    "h": 109.7
  },
  "luminance": 0.60812
}

Semantic roles & 50–950 ramp

primary
#D2D34C
secondary
#39388B
accent
#44E445
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D34C

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

Preview Lab → · Contrast checker → · Palette generator →

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