#D2C14D#D2C14D

#D2C14D is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.136 H 101.0°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#D2C14D
RGBrgb(210, 193, 77)
HSLhsl(52, 60%, 56%)
HSVhsv(52, 63%, 82%)
CMYKcmyk(0%, 8.1%, 63.3%, 17.6%)
CIE-LABlab(77.51, -7.69, 58.72)
CIE-LCHlch(77.51, 59.23, 97.46°)
OKLaboklab(80.35% -0.0259 0.1336)
OKLCHoklch(80.35% 0.136 101)
XYZxyz(46.9898, 52.3794, 14.6548)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C14D #4D5ED2
analogous
#D27F4D #D2C14D #A1D24D
triadic
#D2C14D #4DD2C1 #C14DD2
tetradic
#D2C14D #4DD27F #4D5ED2 #D24DA1
square
#D2C14D #4DD27F #4D5ED2 #D24DA1
split-complementary
#D2C14D #4DA1D2 #7F4DD2
monochromatic
#837721 #B4A32E #D2C14D #DED27E #EBE3AF

Accessibility & contrast

On white

1.83
#D2C14D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#D2C14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C14D
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C14D#FFFFFF#000000##000000
##D2C14D1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3F
Deuteranopia (green-blind)
#D7C353
Tritanopia (blue-blind)
#E1B4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c14d;
/* rgb */ color: rgb(210, 193, 77);
/* oklch */ color: oklch(80.3% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#e3d384',
    500: '#d2c14d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c14d;
$custom-light: #e3d384;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c14d",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 77
  },
  "hsl": {
    "h": 52.331,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80347,
    "c": 0.13611,
    "h": 101
  },
  "luminance": 0.52377
}

Semantic roles & 50–950 ramp

primary
#D2C14D
secondary
#39438A
accent
#59E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C14D

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

Preview Lab → · Contrast checker → · Palette generator →

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