#D9C13F#D9C13F

#D9C13F is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.146 H 98.5°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#D9C13F
RGBrgb(217, 193, 63)
HSLhsl(51, 67%, 55%)
HSVhsv(51, 71%, 85%)
CMYKcmyk(0%, 11.1%, 71%, 14.9%)
CIE-LABlab(78.02, -5.49, 65.11)
CIE-LCHlch(78.02, 65.34, 94.82°)
OKLaboklab(80.87% -0.0216 0.1446)
OKLCHoklch(80.87% 0.146 98.5)
XYZxyz(48.5848, 53.2529, 12.4214)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C13F #3F57D9
analogous
#D9743F #D9C13F #A4D93F
triadic
#D9C13F #3FD9C1 #C13FD9
tetradic
#D9C13F #3FD974 #3F57D9 #D93FA4
square
#D9C13F #3FD974 #3F57D9 #D93FA4
split-complementary
#D9C13F #3FA4D9 #743FD9
monochromatic
#84731A #B7A024 #D9C13F #E3D172 #EDE2A5

Accessibility & contrast

On white

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

On black

11.65
#D9C13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C13F
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C13F#FFFFFF#000000##000000
##D9C13F1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c13f;
/* rgb */ color: rgb(217, 193, 63);
/* oklch */ color: oklch(80.9% 0.146 98.5);
Tailwind
colors: {
  custom: {
    50: '#e9d37c',
    500: '#d9c13f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c13f;
$custom-light: #e9d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c13f",
  "rgb": {
    "r": 217,
    "g": 193,
    "b": 63
  },
  "hsl": {
    "h": 50.649,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80871,
    "c": 0.14622,
    "h": 98.5
  },
  "luminance": 0.53251
}

Semantic roles & 50–950 ramp

primary
#D9C13F
secondary
#32408A
accent
#59EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C13F

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

Preview Lab → · Contrast checker → · Palette generator →

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