#D2D472#D2D472

#D2D472 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.8% C 0.122 H 109.8°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#D2D472
RGBrgb(210, 212, 114)
HSLhsl(61, 53%, 64%)
HSVhsv(61, 46%, 83%)
CMYKcmyk(0.9%, 0%, 46.2%, 16.9%)
CIE-LABlab(82.92, -14.40, 47.94)
CIE-LCHlch(82.92, 50.06, 106.72°)
OKLaboklab(84.77% -0.0411 0.1144)
OKLCHoklch(84.77% 0.122 109.8)
XYZxyz(53.1601, 62.0046, 25.0840)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D472 #7472D4
analogous
#D4A572 #D2D472 #A1D472
triadic
#D2D472 #72D2D4 #D472D2
tetradic
#D2D472 #72D4A5 #7472D4 #D472A1
square
#D2D472 #72D4A5 #7472D4 #D472A1
split-complementary
#D2D472 #72A1D4 #A572D4
monochromatic
#9A9C30 #C3C643 #D2D472 #E1E2A1 #F0F1D0

Accessibility & contrast

On white

1.57
#D2D472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#D2D472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D472
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D472#FFFFFF#000000##000000
##D2D4721.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6A
Deuteranopia (green-blind)
#E3D077
Tritanopia (blue-blind)
#DEC9BD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d472;
/* rgb */ color: rgb(210, 212, 114);
/* oklch */ color: oklch(84.8% 0.122 109.8);
Tailwind
colors: {
  custom: {
    50: '#e1e19c',
    500: '#d2d472',
    950: '#000000',
  },
}
SCSS
$custom: #d2d472;
$custom-light: #e1e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d472",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 61.224,
    "s": 53.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8477,
    "c": 0.12155,
    "h": 109.8
  },
  "luminance": 0.62004
}

Semantic roles & 50–950 ramp

primary
#D2D472
secondary
#4B49A1
accent
#25C128
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D472

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

Preview Lab → · Contrast checker → · Palette generator →

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