#D9C35E#D9C35E

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

Color values

HEX#D9C35E
RGBrgb(217, 195, 94)
HSLhsl(49, 62%, 61%)
HSVhsv(49, 57%, 85%)
CMYKcmyk(0%, 10.1%, 56.7%, 14.9%)
CIE-LABlab(78.81, -4.61, 52.72)
CIE-LCHlch(78.81, 52.92, 95.00°)
OKLaboklab(81.57% -0.0155 0.1228)
OKLCHoklch(81.57% 0.124 97.2)
XYZxyz(50.1527, 54.5922, 18.4831)
Luminance0.5459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C35E #5E74D9
analogous
#D9855E #D9C35E #B1D95E
triadic
#D9C35E #5ED9C3 #C35ED9
tetradic
#D9C35E #5ED985 #5E74D9 #D95EB1
square
#D9C35E #5ED985 #5E74D9 #D95EB1
split-complementary
#D9C35E #5EB1D9 #855ED9
monochromatic
#998424 #CAAE30 #D9C35E #E5D590 #F0E8C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C35E#FFFFFF#000000##000000
##D9C35E1.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)
#D4BF54
Deuteranopia (green-blind)
#DAC663
Tritanopia (blue-blind)
#E8B6AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c35e;
/* rgb */ color: rgb(217, 195, 94);
/* oklch */ color: oklch(81.6% 0.124 97.2);
Tailwind
colors: {
  custom: {
    50: '#e7d48f',
    500: '#d9c35e',
    950: '#000000',
  },
}
SCSS
$custom: #d9c35e;
$custom-light: #e7d48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c35e",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 94
  },
  "hsl": {
    "h": 49.268,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81574,
    "c": 0.12382,
    "h": 97.2
  },
  "luminance": 0.5459
}

Semantic roles & 50–950 ramp

primary
#D9C35E
secondary
#3E4F9D
accent
#3BCA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C35E

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

Preview Lab → · Contrast checker → · Palette generator →

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