#D2C35A#D2C35A

#D2C35A is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.127 H 101.3°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#D2C35A
RGBrgb(210, 195, 90)
HSLhsl(53, 57%, 59%)
HSVhsv(53, 57%, 82%)
CMYKcmyk(0%, 7.1%, 57.1%, 17.6%)
CIE-LABlab(78.15, -7.82, 53.66)
CIE-LCHlch(78.15, 54.23, 98.29°)
OKLaboklab(80.9% -0.0248 0.1246)
OKLCHoklch(80.9% 0.127 101.3)
XYZxyz(47.9406, 53.4719, 17.4667)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C35A #5A69D2
analogous
#D2875A #D2C35A #A5D25A
triadic
#D2C35A #5AD2C3 #C35AD2
tetradic
#D2C35A #5AD287 #5A69D2 #D25AA5
square
#D2C35A #5AD287 #5A69D2 #D25AA5
split-complementary
#D2C35A #5AA5D2 #875AD2
monochromatic
#8C7F26 #BCAB33 #D2C35A #DFD48A #ECE6BA

Accessibility & contrast

On white

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

On black

11.69
#D2C35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C35A
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C35A#FFFFFF#000000##000000
##D2C35A1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4F
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#E0B7AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c35a;
/* rgb */ color: rgb(210, 195, 90);
/* oklch */ color: oklch(80.9% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#e2d48c',
    500: '#d2c35a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c35a;
$custom-light: #e2d48c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c35a",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 90
  },
  "hsl": {
    "h": 52.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80898,
    "c": 0.12699,
    "h": 101.3
  },
  "luminance": 0.5347
}

Semantic roles & 50–950 ramp

primary
#D2C35A
secondary
#3E4992
accent
#5BE047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C35A

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

Preview Lab → · Contrast checker → · Palette generator →

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