#D9C13C#D9C13C

#D9C13C is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.148 H 98.7°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#D9C13C
RGBrgb(217, 193, 60)
HSLhsl(51, 67%, 54%)
HSVhsv(51, 72%, 85%)
CMYKcmyk(0%, 11.1%, 72.4%, 14.9%)
CIE-LABlab(78.00, -5.63, 66.21)
CIE-LCHlch(78.00, 66.45, 94.86°)
OKLaboklab(80.85% -0.0223 0.1464)
OKLCHoklch(80.85% 0.148 98.7)
XYZxyz(48.5032, 53.2203, 11.9918)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C13C #3C54D9
analogous
#D9733C #D9C13C #A3D93C
triadic
#D9C13C #3CD9C1 #C13CD9
tetradic
#D9C13C #3CD973 #3C54D9 #D93CA3
square
#D9C13C #3CD973 #3C54D9 #D93CA3
split-complementary
#D9C13C #3CA3D9 #733CD9
monochromatic
#817119 #B59E23 #D9C13C #E3D16F #EDE2A2

Accessibility & contrast

On white

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

On black

11.64
#D9C13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C13C
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C13C#FFFFFF#000000##000000
##D9C13C1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC26
Deuteranopia (green-blind)
#DAC444
Tritanopia (blue-blind)
#EAB3A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d9c13c;
/* rgb */ color: rgb(217, 193, 60);
/* oklch */ color: oklch(80.8% 0.148 98.7);
Tailwind
colors: {
  custom: {
    50: '#e9d37a',
    500: '#d9c13c',
    950: '#000000',
  },
}
SCSS
$custom: #d9c13c;
$custom-light: #e9d37a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c13c",
  "rgb": {
    "r": 217,
    "g": 193,
    "b": 60
  },
  "hsl": {
    "h": 50.828,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80849,
    "c": 0.14809,
    "h": 98.7
  },
  "luminance": 0.53218
}

Semantic roles & 50–950 ramp

primary
#D9C13C
secondary
#313E88
accent
#58EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C13C

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

Preview Lab → · Contrast checker → · Palette generator →

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