#D2C14C#D2C14C

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

Color values

HEX#D2C14C
RGBrgb(210, 193, 76)
HSLhsl(52, 60%, 56%)
HSVhsv(52, 64%, 82%)
CMYKcmyk(0%, 8.1%, 63.8%, 17.6%)
CIE-LABlab(77.50, -7.75, 59.14)
CIE-LCHlch(77.50, 59.65, 97.47°)
OKLaboklab(80.34% -0.0262 0.1344)
OKLCHoklch(80.34% 0.137 101)
XYZxyz(46.9547, 52.3653, 14.4703)
Luminance0.5236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C14C #4C5DD2
analogous
#D27E4C #D2C14C #A0D24C
triadic
#D2C14C #4CD2C1 #C14CD2
tetradic
#D2C14C #4CD27E #4C5DD2 #D24CA0
square
#D2C14C #4CD27E #4C5DD2 #D24CA0
split-complementary
#D2C14C #4CA0D2 #7E4CD2
monochromatic
#837621 #B4A32D #D2C14C #DED27D #EBE3AE

Accessibility & contrast

On white

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

On black

11.47
#D2C14C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C14C
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C14C#FFFFFF#000000##000000
##D2C14C1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3E
Deuteranopia (green-blind)
#D7C252
Tritanopia (blue-blind)
#E1B4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c14c;
/* rgb */ color: rgb(210, 193, 76);
/* oklch */ color: oklch(80.3% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#e3d383',
    500: '#d2c14c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c14c;
$custom-light: #e3d383;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c14c",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 76
  },
  "hsl": {
    "h": 52.388,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80338,
    "c": 0.13689,
    "h": 101
  },
  "luminance": 0.52363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C14C

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

Preview Lab → · Contrast checker → · Palette generator →

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