#D2C350#D2C350

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

Color values

HEX#D2C350
RGBrgb(210, 195, 80)
HSLhsl(53, 59%, 57%)
HSVhsv(53, 62%, 82%)
CMYKcmyk(0%, 7.1%, 61.9%, 17.6%)
CIE-LABlab(78.06, -8.52, 58.03)
CIE-LCHlch(78.06, 58.65, 98.36°)
OKLaboklab(80.79% -0.0279 0.1326)
OKLCHoklch(80.79% 0.135 101.9)
XYZxyz(47.5432, 53.3129, 15.3740)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C350 #505FD2
analogous
#D28250 #D2C350 #A0D250
triadic
#D2C350 #50D2C3 #C350D2
tetradic
#D2C350 #50D282 #505FD2 #D250A0
square
#D2C350 #50D282 #505FD2 #D250A0
split-complementary
#D2C350 #50A0D2 #8250D2
monochromatic
#857A22 #B6A62F #D2C350 #DFD481 #EBE4B1

Accessibility & contrast

On white

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

On black

11.66
#D2C350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C350
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C350#FFFFFF#000000##000000
##D2C3501.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c350;
/* rgb */ color: rgb(210, 195, 80);
/* oklch */ color: oklch(80.8% 0.135 101.9);
Tailwind
colors: {
  custom: {
    50: '#e3d486',
    500: '#d2c350',
    950: '#000000',
  },
}
SCSS
$custom: #d2c350;
$custom-light: #e3d486;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c350",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 80
  },
  "hsl": {
    "h": 53.077,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80794,
    "c": 0.13548,
    "h": 101.9
  },
  "luminance": 0.53311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C350

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

Preview Lab → · Contrast checker → · Palette generator →

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