#D2C14B#D2C14B

#D2C14B 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#D2C14B
RGBrgb(210, 193, 75)
HSLhsl(52, 60%, 56%)
HSVhsv(52, 64%, 82%)
CMYKcmyk(0%, 8.1%, 64.3%, 17.6%)
CIE-LABlab(77.49, -7.81, 59.56)
CIE-LCHlch(77.49, 60.07, 97.47°)
OKLaboklab(80.33% -0.0265 0.1351)
OKLCHoklch(80.33% 0.138 101.1)
XYZxyz(46.9202, 52.3515, 14.2886)
Luminance0.5235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C14B #4B5CD2
analogous
#D27D4B #D2C14B #A0D24B
triadic
#D2C14B #4BD2C1 #C14BD2
tetradic
#D2C14B #4BD27D #4B5CD2 #D24BA0
square
#D2C14B #4BD27D #4B5CD2 #D24BA0
split-complementary
#D2C14B #4BA0D2 #7D4BD2
monochromatic
#827621 #B3A22D #D2C14B #DED27C #EAE3AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C14B#FFFFFF#000000##000000
##D2C14B1.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)
#D2BC3C
Deuteranopia (green-blind)
#D7C252
Tritanopia (blue-blind)
#E1B4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c14b;
/* rgb */ color: rgb(210, 193, 75);
/* oklch */ color: oklch(80.3% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#e3d383',
    500: '#d2c14b',
    950: '#000000',
  },
}
SCSS
$custom: #d2c14b;
$custom-light: #e3d383;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c14b",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 52.444,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80328,
    "c": 0.13766,
    "h": 101.1
  },
  "luminance": 0.5235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C14B

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

Preview Lab → · Contrast checker → · Palette generator →

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