#D2C05A#D2C05A

#D2C05A is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.124 H 99.4°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D2C05A
RGBrgb(210, 192, 90)
HSLhsl(51, 57%, 59%)
HSVhsv(51, 57%, 82%)
CMYKcmyk(0%, 8.6%, 57.1%, 17.6%)
CIE-LABlab(77.37, -6.28, 52.77)
CIE-LCHlch(77.37, 53.14, 96.78°)
OKLaboklab(80.27% -0.0204 0.1226)
OKLCHoklch(80.27% 0.124 99.4)
XYZxyz(47.2752, 52.1410, 17.2449)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C05A #5A6CD2
analogous
#D2845A #D2C05A #A8D25A
triadic
#D2C05A #5AD2C0 #C05AD2
tetradic
#D2C05A #5AD284 #5A6CD2 #D25AA8
square
#D2C05A #5AD284 #5A6CD2 #D25AA8
split-complementary
#D2C05A #5AA8D2 #845AD2
monochromatic
#8C7C26 #BCA733 #D2C05A #DFD28A #ECE5BA

Accessibility & contrast

On white

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

On black

11.43
#D2C05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C05A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C05A#FFFFFF#000000##000000
##D2C05A1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB50
Deuteranopia (green-blind)
#D5C25F
Tritanopia (blue-blind)
#E1B4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c05a;
/* rgb */ color: rgb(210, 192, 90);
/* oklch */ color: oklch(80.3% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#e2d28c',
    500: '#d2c05a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c05a;
$custom-light: #e2d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c05a",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 51,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80273,
    "c": 0.1243,
    "h": 99.4
  },
  "luminance": 0.52139
}

Semantic roles & 50–950 ramp

primary
#D2C05A
secondary
#3E4B92
accent
#5EE047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C05A

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

Preview Lab → · Contrast checker → · Palette generator →

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