#D2C050#D2C050

#D2C050 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.133 H 100.2°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#D2C050
RGBrgb(210, 192, 80)
HSLhsl(52, 59%, 57%)
HSVhsv(52, 62%, 82%)
CMYKcmyk(0%, 8.6%, 61.9%, 17.6%)
CIE-LABlab(77.27, -6.98, 57.17)
CIE-LCHlch(77.27, 57.59, 96.96°)
OKLaboklab(80.17% -0.0235 0.1308)
OKLCHoklch(80.17% 0.133 100.2)
XYZxyz(46.8778, 51.9821, 15.1521)
Luminance0.5198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C050 #5062D2
analogous
#D27F50 #D2C050 #A3D250
triadic
#D2C050 #50D2C0 #C050D2
tetradic
#D2C050 #50D27F #5062D2 #D250A3
square
#D2C050 #50D27F #5062D2 #D250A3
split-complementary
#D2C050 #50A3D2 #7F50D2
monochromatic
#857822 #B6A32F #D2C050 #DFD281 #EBE3B1

Accessibility & contrast

On white

1.84
#D2C050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#D2C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C050
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C050#FFFFFF#000000##000000
##D2C0501.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB43
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#E1B3A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c050;
/* rgb */ color: rgb(210, 192, 80);
/* oklch */ color: oklch(80.2% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#e3d286',
    500: '#d2c050',
    950: '#000000',
  },
}
SCSS
$custom: #d2c050;
$custom-light: #e3d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c050",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 51.692,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80167,
    "c": 0.13285,
    "h": 100.2
  },
  "luminance": 0.5198
}

Semantic roles & 50–950 ramp

primary
#D2C050
secondary
#3A458C
accent
#5BE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C050

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

Preview Lab → · Contrast checker → · Palette generator →

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