#D9C13E#D9C13E

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

Color values

HEX#D9C13E
RGBrgb(217, 193, 62)
HSLhsl(51, 67%, 55%)
HSVhsv(51, 71%, 85%)
CMYKcmyk(0%, 11.1%, 71.4%, 14.9%)
CIE-LABlab(78.02, -5.54, 65.48)
CIE-LCHlch(78.02, 65.72, 94.84°)
OKLaboklab(80.86% -0.0218 0.1452)
OKLCHoklch(80.86% 0.147 98.5)
XYZxyz(48.5571, 53.2418, 12.2755)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C13E #3E56D9
analogous
#D9743E #D9C13E #A3D93E
triadic
#D9C13E #3ED9C1 #C13ED9
tetradic
#D9C13E #3ED974 #3E56D9 #D93EA3
square
#D9C13E #3ED974 #3E56D9 #D93EA3
split-complementary
#D9C13E #3EA3D9 #743ED9
monochromatic
#83731A #B69F24 #D9C13E #E3D171 #EDE2A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C13E#FFFFFF#000000##000000
##D9C13E1.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)
#D4BC29
Deuteranopia (green-blind)
#DAC546
Tritanopia (blue-blind)
#EAB3A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d9c13e;
/* rgb */ color: rgb(217, 193, 62);
/* oklch */ color: oklch(80.9% 0.147 98.5);
Tailwind
colors: {
  custom: {
    50: '#e9d37b',
    500: '#d9c13e',
    950: '#000000',
  },
}
SCSS
$custom: #d9c13e;
$custom-light: #e9d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c13e",
  "rgb": {
    "r": 217,
    "g": 193,
    "b": 62
  },
  "hsl": {
    "h": 50.71,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80864,
    "c": 0.14685,
    "h": 98.5
  },
  "luminance": 0.53239
}

Semantic roles & 50–950 ramp

primary
#D9C13E
secondary
#323F8A
accent
#58EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C13E

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

Preview Lab → · Contrast checker → · Palette generator →

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