#D9C35A#D9C35A

#D9C35A is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.127 H 97.6°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D9C35A
RGBrgb(217, 195, 90)
HSLhsl(50, 63%, 60%)
HSVhsv(50, 59%, 85%)
CMYKcmyk(0%, 10.1%, 58.5%, 14.9%)
CIE-LABlab(78.77, -4.90, 54.52)
CIE-LCHlch(78.77, 54.74, 95.14°)
OKLaboklab(81.53% -0.0168 0.1262)
OKLCHoklch(81.53% 0.127 97.6)
XYZxyz(49.9778, 54.5223, 17.5622)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C35A #5A70D9
analogous
#D9835A #D9C35A #B0D95A
triadic
#D9C35A #5AD9C3 #C35AD9
tetradic
#D9C35A #5AD983 #5A70D9 #D95AB0
square
#D9C35A #5AD983 #5A70D9 #D95AB0
split-complementary
#D9C35A #5AB0D9 #835AD9
monochromatic
#968223 #C8AD2E #D9C35A #E4D58C #F0E7BD

Accessibility & contrast

On white

1.76
#D9C35A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#D9C35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C35A
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C35A#FFFFFF#000000##000000
##D9C35A1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4F
Deuteranopia (green-blind)
#DAC65F
Tritanopia (blue-blind)
#E9B6AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c35a;
/* rgb */ color: rgb(217, 195, 90);
/* oklch */ color: oklch(81.5% 0.127 97.6);
Tailwind
colors: {
  custom: {
    50: '#e8d48c',
    500: '#d9c35a',
    950: '#000000',
  },
}
SCSS
$custom: #d9c35a;
$custom-light: #e8d48c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c35a",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 90
  },
  "hsl": {
    "h": 49.606,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81529,
    "c": 0.12736,
    "h": 97.6
  },
  "luminance": 0.5452
}

Semantic roles & 50–950 ramp

primary
#D9C35A
secondary
#3C4D9B
accent
#3ACA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C35A

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

Preview Lab → · Contrast checker → · Palette generator →

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