#D9C43D#D9C43D

#D9C43D is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.150 H 100.2°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#D9C43D
RGBrgb(217, 196, 61)
HSLhsl(52, 67%, 55%)
HSVhsv(52, 72%, 85%)
CMYKcmyk(0%, 9.7%, 71.9%, 14.9%)
CIE-LABlab(78.79, -7.13, 66.61)
CIE-LCHlch(78.79, 66.99, 96.11°)
OKLaboklab(81.48% -0.0264 0.1474)
OKLCHoklch(81.48% 0.15 100.2)
XYZxyz(49.1998, 54.5708, 12.3557)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C43D #3D52D9
analogous
#D9763D #D9C43D #A0D93D
triadic
#D9C43D #3DD9C4 #C43DD9
tetradic
#D9C43D #3DD976 #3D52D9 #D93DA0
square
#D9C43D #3DD976 #3D52D9 #D93DA0
split-complementary
#D9C43D #3DA0D9 #763DD9
monochromatic
#827419 #B5A224 #D9C43D #E3D470 #EDE3A3

Accessibility & contrast

On white

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

On black

11.91
#D9C43D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C43D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C43D#FFFFFF#000000##000000
##D9C43D1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF27
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#EAB6A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c43d;
/* rgb */ color: rgb(217, 196, 61);
/* oklch */ color: oklch(81.5% 0.150 100.2);
Tailwind
colors: {
  custom: {
    50: '#e9d57b',
    500: '#d9c43d',
    950: '#000000',
  },
}
SCSS
$custom: #d9c43d;
$custom-light: #e9d57b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c43d",
  "rgb": {
    "r": 217,
    "g": 196,
    "b": 61
  },
  "hsl": {
    "h": 51.923,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81477,
    "c": 0.14978,
    "h": 100.2
  },
  "luminance": 0.54568
}

Semantic roles & 50–950 ramp

primary
#D9C43D
secondary
#313D89
accent
#55EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C43D

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

Preview Lab → · Contrast checker → · Palette generator →

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