#D2D14B#D2D14B

#D2D14B 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#D2D14B
RGBrgb(210, 209, 75)
HSLhsl(60, 60%, 56%)
HSVhsv(60, 64%, 82%)
CMYKcmyk(0%, 0.5%, 64.3%, 17.6%)
CIE-LABlab(81.74, -15.91, 64.01)
CIE-LCHlch(81.74, 65.96, 103.95°)
OKLaboklab(83.71% -0.0494 0.1445)
OKLCHoklch(83.71% 0.153 108.9)
XYZxyz(50.6505, 59.8120, 15.5320)
Luminance0.5981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D14B #4B4CD2
analogous
#D28E4B #D2D14B #8FD24B
triadic
#D2D14B #4BD2D1 #D14BD2
tetradic
#D2D14B #4BD28E #4B4CD2 #D24B8F
square
#D2D14B #4BD28E #4B4CD2 #D24B8F
split-complementary
#D2D14B #4B8FD2 #8E4BD2
monochromatic
#828121 #B3B22D #D2D14B #DEDE7C #EAEAAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D14B#FFFFFF#000000##000000
##D2D14B1.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)
#E1C939
Deuteranopia (green-blind)
#E3CD54
Tritanopia (blue-blind)
#E0C4B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d14b;
/* rgb */ color: rgb(210, 209, 75);
/* oklch */ color: oklch(83.7% 0.153 108.9);
Tailwind
colors: {
  custom: {
    50: '#e3de84',
    500: '#d2d14b',
    950: '#000000',
  },
}
SCSS
$custom: #d2d14b;
$custom-light: #e3de84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d14b",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 75
  },
  "hsl": {
    "h": 59.556,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83707,
    "c": 0.1527,
    "h": 108.9
  },
  "luminance": 0.59811
}

Semantic roles & 50–950 ramp

primary
#D2D14B
secondary
#383989
accent
#46E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D14B

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

Preview Lab → · Contrast checker → · Palette generator →

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