#D2C14A#D2C14A

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

Color values

HEX#D2C14A
RGBrgb(210, 193, 74)
HSLhsl(53, 60%, 56%)
HSVhsv(53, 65%, 82%)
CMYKcmyk(0%, 8.1%, 64.8%, 17.6%)
CIE-LABlab(77.48, -7.87, 59.97)
CIE-LCHlch(77.48, 60.48, 97.48°)
OKLaboklab(80.32% -0.0267 0.1358)
OKLCHoklch(80.32% 0.138 101.1)
XYZxyz(46.8863, 52.3380, 14.1098)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C14A #4A5BD2
analogous
#D27D4A #D2C14A #9FD24A
triadic
#D2C14A #4AD2C1 #C14AD2
tetradic
#D2C14A #4AD27D #4A5BD2 #D24A9F
square
#D2C14A #4AD27D #4A5BD2 #D24A9F
split-complementary
#D2C14A #4A9FD2 #7D4AD2
monochromatic
#817520 #B2A22C #D2C14A #DED27B #EAE3AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C14A#FFFFFF#000000##000000
##D2C14A1.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)
#D2BB3B
Deuteranopia (green-blind)
#D7C251
Tritanopia (blue-blind)
#E1B4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c14a;
/* rgb */ color: rgb(210, 193, 74);
/* oklch */ color: oklch(80.3% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#e3d382',
    500: '#d2c14a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c14a;
$custom-light: #e3d382;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c14a",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 74
  },
  "hsl": {
    "h": 52.5,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80319,
    "c": 0.13842,
    "h": 101.1
  },
  "luminance": 0.52336
}

Semantic roles & 50–950 ramp

primary
#D2C14A
secondary
#384289
accent
#58E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C14A

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

Preview Lab → · Contrast checker → · Palette generator →

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