#D2D14A#D2D14A

#D2D14A is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.153 H 108.9°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D2D14A
RGBrgb(210, 209, 74)
HSLhsl(60, 60%, 56%)
HSVhsv(60, 65%, 82%)
CMYKcmyk(0%, 0.5%, 64.8%, 17.6%)
CIE-LABlab(81.73, -15.96, 64.40)
CIE-LCHlch(81.73, 66.35, 103.92°)
OKLaboklab(83.7% -0.0497 0.1452)
OKLCHoklch(83.7% 0.153 108.9)
XYZxyz(50.6165, 59.7985, 15.3532)
Luminance0.5980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D14A #4A4BD2
analogous
#D28D4A #D2D14A #8FD24A
triadic
#D2D14A #4AD2D1 #D14AD2
tetradic
#D2D14A #4AD28D #4A4BD2 #D24A8F
square
#D2D14A #4AD28D #4A4BD2 #D24A8F
split-complementary
#D2D14A #4A8FD2 #8D4AD2
monochromatic
#818120 #B2B12C #D2D14A #DEDD7B #EAEAAC

Accessibility & contrast

On white

1.62
#D2D14A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#D2D14A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D14A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D14A#FFFFFF#000000##000000
##D2D14A1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C937
Deuteranopia (green-blind)
#E3CD53
Tritanopia (blue-blind)
#E0C4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d14a;
/* rgb */ color: rgb(210, 209, 74);
/* oklch */ color: oklch(83.7% 0.153 108.9);
Tailwind
colors: {
  custom: {
    50: '#e3de83',
    500: '#d2d14a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d14a;
$custom-light: #e3de83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d14a",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 74
  },
  "hsl": {
    "h": 59.559,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83699,
    "c": 0.15343,
    "h": 108.9
  },
  "luminance": 0.59797
}

Semantic roles & 50–950 ramp

primary
#D2D14A
secondary
#383889
accent
#46E344
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D14A

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

Preview Lab → · Contrast checker → · Palette generator →

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