#D2C14E#D2C14E

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

Color values

HEX#D2C14E
RGBrgb(210, 193, 78)
HSLhsl(52, 59%, 56%)
HSVhsv(52, 63%, 82%)
CMYKcmyk(0%, 8.1%, 62.9%, 17.6%)
CIE-LABlab(77.52, -7.63, 58.30)
CIE-LCHlch(77.52, 58.80, 97.45°)
OKLaboklab(80.36% -0.0256 0.1329)
OKLCHoklch(80.36% 0.135 100.9)
XYZxyz(47.0253, 52.3936, 14.8422)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C14E #4E5FD2
analogous
#D27F4E #D2C14E #A1D24E
triadic
#D2C14E #4ED2C1 #C14ED2
tetradic
#D2C14E #4ED27F #4E5FD2 #D24EA1
square
#D2C14E #4ED27F #4E5FD2 #D24EA1
split-complementary
#D2C14E #4EA1D2 #7F4ED2
monochromatic
#847722 #B5A32E #D2C14E #DED27F #EBE3B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C14E#FFFFFF#000000##000000
##D2C14E1.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)
#D2BC40
Deuteranopia (green-blind)
#D7C354
Tritanopia (blue-blind)
#E1B4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c14e;
/* rgb */ color: rgb(210, 193, 78);
/* oklch */ color: oklch(80.4% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#e3d384',
    500: '#d2c14e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c14e;
$custom-light: #e3d384;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c14e",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 78
  },
  "hsl": {
    "h": 52.273,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80356,
    "c": 0.13532,
    "h": 100.9
  },
  "luminance": 0.52392
}

Semantic roles & 50–950 ramp

primary
#D2C14E
secondary
#39448B
accent
#59E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C14E

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

Preview Lab → · Contrast checker → · Palette generator →

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