#D2C351#D2C351

#D2C351 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.135 H 101.8°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#D2C351
RGBrgb(210, 195, 81)
HSLhsl(53, 59%, 57%)
HSVhsv(53, 61%, 82%)
CMYKcmyk(0%, 7.1%, 61.4%, 17.6%)
CIE-LABlab(78.07, -8.46, 57.60)
CIE-LCHlch(78.07, 58.22, 98.35°)
OKLaboklab(80.8% -0.0276 0.1318)
OKLCHoklch(80.8% 0.135 101.8)
XYZxyz(47.5805, 53.3278, 15.5700)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C351 #5160D2
analogous
#D28251 #D2C351 #A1D251
triadic
#D2C351 #51D2C3 #C351D2
tetradic
#D2C351 #51D282 #5160D2 #D251A1
square
#D2C351 #51D282 #5160D2 #D251A1
split-complementary
#D2C351 #51A1D2 #8251D2
monochromatic
#867A23 #B7A72F #D2C351 #DFD482 #EBE5B2

Accessibility & contrast

On white

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

On black

11.67
#D2C351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C351
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C351#FFFFFF#000000##000000
##D2C3511.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD44
Deuteranopia (green-blind)
#D8C457
Tritanopia (blue-blind)
#E1B6AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c351;
/* rgb */ color: rgb(210, 195, 81);
/* oklch */ color: oklch(80.8% 0.135 101.8);
Tailwind
colors: {
  custom: {
    50: '#e3d486',
    500: '#d2c351',
    950: '#000000',
  },
}
SCSS
$custom: #d2c351;
$custom-light: #e3d486;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c351",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 53.023,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80803,
    "c": 0.13467,
    "h": 101.8
  },
  "luminance": 0.53326
}

Semantic roles & 50–950 ramp

primary
#D2C351
secondary
#3B448D
accent
#58E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C351

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

Preview Lab → · Contrast checker → · Palette generator →

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