#D9C641#D9C641

#D9C641 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.149 H 101.0°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#D9C641
RGBrgb(217, 198, 65)
HSLhsl(53, 67%, 55%)
HSVhsv(53, 70%, 85%)
CMYKcmyk(0%, 8.8%, 70%, 14.9%)
CIE-LABlab(79.34, -7.96, 65.66)
CIE-LCHlch(79.34, 66.14, 96.91°)
OKLaboklab(81.92% -0.0284 0.1461)
OKLCHoklch(81.92% 0.149 101)
XYZxyz(49.7657, 55.5238, 13.0958)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C641 #4154D9
analogous
#D97A41 #D9C641 #A0D941
triadic
#D9C641 #41D9C6 #C641D9
tetradic
#D9C641 #41D97A #4154D9 #D941A0
square
#D9C641 #41D97A #4154D9 #D941A0
split-complementary
#D9C641 #41A0D9 #7A41D9
monochromatic
#85781B #B8A625 #D9C641 #E3D574 #EDE5A7

Accessibility & contrast

On white

1.73
#D9C641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#D9C641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C641
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C641#FFFFFF#000000##000000
##D9C6411.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#DEC849
Tritanopia (blue-blind)
#E9B8AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c641;
/* rgb */ color: rgb(217, 198, 65);
/* oklch */ color: oklch(81.9% 0.149 101.0);
Tailwind
colors: {
  custom: {
    50: '#e8d67e',
    500: '#d9c641',
    950: '#000000',
  },
}
SCSS
$custom: #d9c641;
$custom-light: #e8d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c641",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 65
  },
  "hsl": {
    "h": 52.5,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8192,
    "c": 0.14886,
    "h": 101
  },
  "luminance": 0.55522
}

Semantic roles & 50–950 ramp

primary
#D9C641
secondary
#333E8B
accent
#54EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C641

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

Preview Lab → · Contrast checker → · Palette generator →

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