#D2D34E#D2D34E

#D2D34E 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#D2D34E
RGBrgb(210, 211, 78)
HSLhsl(60, 60%, 57%)
HSVhsv(60, 63%, 83%)
CMYKcmyk(0.5%, 0%, 63%, 17.3%)
CIE-LABlab(82.29, -16.72, 63.38)
CIE-LCHlch(82.29, 65.55, 104.78°)
OKLaboklab(84.16% -0.0514 0.1436)
OKLCHoklch(84.16% 0.153 109.7)
XYZxyz(51.2494, 60.8416, 16.2502)
Luminance0.6084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D34E #4F4ED3
analogous
#D3924E #D2D34E #90D34E
triadic
#D2D34E #4ED2D3 #D34ED2
tetradic
#D2D34E #4ED392 #4F4ED3 #D34E90
square
#D2D34E #4ED392 #4F4ED3 #D34E90
split-complementary
#D2D34E #4E90D3 #924ED3
monochromatic
#858521 #B5B62D #D2D34E #DEDF7F #EBEBB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D34E#FFFFFF#000000##000000
##D2D34E1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d34e;
/* rgb */ color: rgb(210, 211, 78);
/* oklch */ color: oklch(84.2% 0.153 109.7);
Tailwind
colors: {
  custom: {
    50: '#e3e086',
    500: '#d2d34e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d34e;
$custom-light: #e3e086;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d34e",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 78
  },
  "hsl": {
    "h": 60.451,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8416,
    "c": 0.15254,
    "h": 109.7
  },
  "luminance": 0.6084
}

Semantic roles & 50–950 ramp

primary
#D2D34E
secondary
#3A398C
accent
#44E346
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D34E

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

Preview Lab → · Contrast checker → · Palette generator →

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