#D2D34D#D2D34D

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

Color values

HEX#D2D34D
RGBrgb(210, 211, 77)
HSLhsl(60, 60%, 56%)
HSVhsv(60, 64%, 83%)
CMYKcmyk(0.5%, 0%, 63.5%, 17.3%)
CIE-LABlab(82.29, -16.78, 63.78)
CIE-LCHlch(82.29, 65.95, 104.74°)
OKLaboklab(84.15% -0.0517 0.1443)
OKLCHoklch(84.15% 0.153 109.7)
XYZxyz(51.2138, 60.8274, 16.0628)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D34D #4E4DD3
analogous
#D3914D #D2D34D #8FD34D
triadic
#D2D34D #4DD2D3 #D34DD2
tetradic
#D2D34D #4DD391 #4E4DD3 #D34D8F
square
#D2D34D #4DD391 #4E4DD3 #D34D8F
split-complementary
#D2D34D #4D8FD3 #914DD3
monochromatic
#848521 #B5B62D #D2D34D #DEDF7E #EBEBAF

Accessibility & contrast

On white

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

On black

13.17
#D2D34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D34D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D34D#FFFFFF#000000##000000
##D2D34D1.001.6013.1713.17
#FFFFFF1.601.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d34d;
/* rgb */ color: rgb(210, 211, 77);
/* oklch */ color: oklch(84.2% 0.153 109.7);
Tailwind
colors: {
  custom: {
    50: '#e3e085',
    500: '#d2d34d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d34d;
$custom-light: #e3e085;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d34d",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 77
  },
  "hsl": {
    "h": 60.448,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84151,
    "c": 0.15328,
    "h": 109.7
  },
  "luminance": 0.60826
}

Semantic roles & 50–950 ramp

primary
#D2D34D
secondary
#39398C
accent
#44E445
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D34D

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

Preview Lab → · Contrast checker → · Palette generator →

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