#D9C35F#D9C35F

#D9C35F is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.6% C 0.123 H 97.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#D9C35F
RGBrgb(217, 195, 95)
HSLhsl(49, 62%, 61%)
HSVhsv(49, 56%, 85%)
CMYKcmyk(0%, 10.1%, 56.2%, 14.9%)
CIE-LABlab(78.82, -4.53, 52.26)
CIE-LCHlch(78.82, 52.46, 94.96°)
OKLaboklab(81.59% -0.0152 0.122)
OKLCHoklch(81.59% 0.123 97.1)
XYZxyz(50.1978, 54.6103, 18.7210)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C35F #5F75D9
analogous
#D9865F #D9C35F #B2D95F
triadic
#D9C35F #5FD9C3 #C35FD9
tetradic
#D9C35F #5FD986 #5F75D9 #D95FB2
square
#D9C35F #5FD986 #5F75D9 #D95FB2
split-complementary
#D9C35F #5FB2D9 #865FD9
monochromatic
#998424 #CBAF30 #D9C35F #E5D690 #F0E8C2

Accessibility & contrast

On white

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

On black

11.92
#D9C35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C35F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C35F#FFFFFF#000000##000000
##D9C35F1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#DAC664
Tritanopia (blue-blind)
#E8B6AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c35f;
/* rgb */ color: rgb(217, 195, 95);
/* oklch */ color: oklch(81.6% 0.123 97.1);
Tailwind
colors: {
  custom: {
    50: '#e7d48f',
    500: '#d9c35f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c35f;
$custom-light: #e7d48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c35f",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 95
  },
  "hsl": {
    "h": 49.18,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81586,
    "c": 0.12291,
    "h": 97.1
  },
  "luminance": 0.54608
}

Semantic roles & 50–950 ramp

primary
#D9C35F
secondary
#3F509E
accent
#3BC91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C35F

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

Preview Lab → · Contrast checker → · Palette generator →

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