#D9C445#D9C445

#D9C445 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.145 H 99.7°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D9C445
RGBrgb(217, 196, 69)
HSLhsl(51, 66%, 56%)
HSVhsv(51, 68%, 85%)
CMYKcmyk(0%, 9.7%, 68.2%, 14.9%)
CIE-LABlab(78.85, -6.73, 63.61)
CIE-LCHlch(78.85, 63.97, 96.04°)
OKLaboklab(81.54% -0.0245 0.1425)
OKLCHoklch(81.54% 0.145 99.7)
XYZxyz(49.4316, 54.6635, 13.5764)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C445 #455AD9
analogous
#D97A45 #D9C445 #A4D945
triadic
#D9C445 #45D9C4 #C445D9
tetradic
#D9C445 #45D97A #455AD9 #D945A4
square
#D9C445 #45D97A #455AD9 #D945A4
split-complementary
#D9C445 #45A4D9 #7A45D9
monochromatic
#88791C #BBA626 #D9C445 #E3D478 #EEE4AB

Accessibility & contrast

On white

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

On black

11.93
#D9C445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C445
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C445#FFFFFF#000000##000000
##D9C4451.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF33
Deuteranopia (green-blind)
#DCC74C
Tritanopia (blue-blind)
#E9B6AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c445;
/* rgb */ color: rgb(217, 196, 69);
/* oklch */ color: oklch(81.5% 0.145 99.7);
Tailwind
colors: {
  custom: {
    50: '#e8d580',
    500: '#d9c445',
    950: '#000000',
  },
}
SCSS
$custom: #d9c445;
$custom-light: #e8d580;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c445",
  "rgb": {
    "r": 217,
    "g": 196,
    "b": 69
  },
  "hsl": {
    "h": 51.486,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81536,
    "c": 0.14458,
    "h": 99.7
  },
  "luminance": 0.54661
}

Semantic roles & 50–950 ramp

primary
#D9C445
secondary
#34418E
accent
#57E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C445

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

Preview Lab → · Contrast checker → · Palette generator →

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