#D9CA41#D9CA41

#D9CA41 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.152 H 103.0°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D9CA41
RGBrgb(217, 202, 65)
HSLhsl(54, 67%, 55%)
HSVhsv(54, 70%, 85%)
CMYKcmyk(0%, 6.9%, 70%, 14.9%)
CIE-LABlab(80.39, -10.00, 66.70)
CIE-LCHlch(80.39, 67.44, 98.52°)
OKLaboklab(82.75% -0.0341 0.1483)
OKLCHoklch(82.75% 0.152 103)
XYZxyz(50.6921, 57.3765, 13.4046)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA41 #4150D9
analogous
#D97E41 #D9CA41 #9CD941
triadic
#D9CA41 #41D9CA #CA41D9
tetradic
#D9CA41 #41D97E #4150D9 #D9419C
square
#D9CA41 #41D97E #4150D9 #D9419C
split-complementary
#D9CA41 #419CD9 #7E41D9
monochromatic
#857A1B #B8A925 #D9CA41 #E3D874 #EDE6A7

Accessibility & contrast

On white

1.68
#D9CA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#D9CA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA41
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA41#FFFFFF#000000##000000
##D9CA411.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42B
Deuteranopia (green-blind)
#E1CB4A
Tritanopia (blue-blind)
#E9BCAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9ca41;
/* rgb */ color: rgb(217, 202, 65);
/* oklch */ color: oklch(82.8% 0.152 103.0);
Tailwind
colors: {
  custom: {
    50: '#e8d97e',
    500: '#d9ca41',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca41;
$custom-light: #e8d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca41",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 65
  },
  "hsl": {
    "h": 54.079,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82754,
    "c": 0.1522,
    "h": 103
  },
  "luminance": 0.57374
}

Semantic roles & 50–950 ramp

primary
#D9CA41
secondary
#333B8B
accent
#4FEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9CA41

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

Preview Lab → · Contrast checker → · Palette generator →

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