#D9C65E#D9C65E

#D9C65E is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.2% C 0.126 H 99.1°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D9C65E
RGBrgb(217, 198, 94)
HSLhsl(51, 62%, 61%)
HSVhsv(51, 57%, 85%)
CMYKcmyk(0%, 8.8%, 56.7%, 14.9%)
CIE-LABlab(79.59, -6.15, 53.61)
CIE-LCHlch(79.59, 53.97, 96.55°)
OKLaboklab(82.19% -0.02 0.1248)
OKLCHoklch(82.19% 0.126 99.1)
XYZxyz(50.8316, 55.9501, 18.7094)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C65E #5E71D9
analogous
#D9885E #D9C65E #AED95E
triadic
#D9C65E #5ED9C6 #C65ED9
tetradic
#D9C65E #5ED988 #5E71D9 #D95EAE
square
#D9C65E #5ED988 #5E71D9 #D95EAE
split-complementary
#D9C65E #5EAED9 #885ED9
monochromatic
#998724 #CAB230 #D9C65E #E5D890 #F0E9C1

Accessibility & contrast

On white

1.72
#D9C65E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D9C65E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C65E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C65E#FFFFFF#000000##000000
##D9C65E1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C154
Deuteranopia (green-blind)
#DCC863
Tritanopia (blue-blind)
#E8B9AF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c65e;
/* rgb */ color: rgb(217, 198, 94);
/* oklch */ color: oklch(82.2% 0.126 99.1);
Tailwind
colors: {
  custom: {
    50: '#e7d78f',
    500: '#d9c65e',
    950: '#000000',
  },
}
SCSS
$custom: #d9c65e;
$custom-light: #e7d78f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c65e",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 94
  },
  "hsl": {
    "h": 50.732,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82192,
    "c": 0.12635,
    "h": 99.1
  },
  "luminance": 0.55948
}

Semantic roles & 50–950 ramp

primary
#D9C65E
secondary
#3E4D9D
accent
#37CA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C65E

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

Preview Lab → · Contrast checker → · Palette generator →

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