#D2C349#D2C349

#D2C349 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.141 H 102.3°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#D2C349
RGBrgb(210, 195, 73)
HSLhsl(53, 60%, 55%)
HSVhsv(53, 65%, 82%)
CMYKcmyk(0%, 7.1%, 65.2%, 17.6%)
CIE-LABlab(78.00, -8.96, 60.93)
CIE-LCHlch(78.00, 61.58, 98.36°)
OKLaboklab(80.73% -0.0299 0.1377)
OKLCHoklch(80.73% 0.141 102.3)
XYZxyz(47.2980, 53.2148, 14.0821)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C349 #4958D2
analogous
#D27F49 #D2C349 #9CD249
triadic
#D2C349 #49D2C3 #C349D2
tetradic
#D2C349 #49D27F #4958D2 #D2499C
square
#D2C349 #49D27F #4958D2 #D2499C
split-complementary
#D2C349 #499CD2 #7F49D2
monochromatic
#817620 #B2A32C #D2C349 #DED37A #EAE3AB

Accessibility & contrast

On white

1.80
#D2C349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#D2C349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C349
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C349#FFFFFF#000000##000000
##D2C3491.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD39
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#E1B6AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c349;
/* rgb */ color: rgb(210, 195, 73);
/* oklch */ color: oklch(80.7% 0.141 102.3);
Tailwind
colors: {
  custom: {
    50: '#e3d482',
    500: '#d2c349',
    950: '#000000',
  },
}
SCSS
$custom: #d2c349;
$custom-light: #e3d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c349",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 73
  },
  "hsl": {
    "h": 53.431,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80729,
    "c": 0.1409,
    "h": 102.3
  },
  "luminance": 0.53213
}

Semantic roles & 50–950 ramp

primary
#D2C349
secondary
#374088
accent
#56E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C349

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

Preview Lab → · Contrast checker → · Palette generator →

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