#D9CB41#D9CB41

#D9CB41 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.153 H 103.4°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D9CB41
RGBrgb(217, 203, 65)
HSLhsl(54, 67%, 55%)
HSVhsv(54, 70%, 85%)
CMYKcmyk(0%, 6.5%, 70%, 14.9%)
CIE-LABlab(80.65, -10.50, 66.96)
CIE-LCHlch(80.65, 67.78, 98.92°)
OKLaboklab(82.96% -0.0356 0.1489)
OKLCHoklch(82.96% 0.153 103.4)
XYZxyz(50.9275, 57.8473, 13.4831)
Luminance0.5785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CB41 #414FD9
analogous
#D97F41 #D9CB41 #9BD941
triadic
#D9CB41 #41D9CB #CB41D9
tetradic
#D9CB41 #41D97F #414FD9 #D9419B
square
#D9CB41 #41D97F #414FD9 #D9419B
split-complementary
#D9CB41 #419BD9 #7F41D9
monochromatic
#857B1B #B8AA25 #D9CB41 #E3D974 #EDE7A7

Accessibility & contrast

On white

1.67
#D9CB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#D9CB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CB41
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CB41#FFFFFF#000000##000000
##D9CB411.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC42B
Deuteranopia (green-blind)
#E2CB4A
Tritanopia (blue-blind)
#E9BDB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9cb41;
/* rgb */ color: rgb(217, 203, 65);
/* oklch */ color: oklch(83.0% 0.153 103.4);
Tailwind
colors: {
  custom: {
    50: '#e8da7e',
    500: '#d9cb41',
    950: '#000000',
  },
}
SCSS
$custom: #d9cb41;
$custom-light: #e8da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cb41",
  "rgb": {
    "r": 217,
    "g": 203,
    "b": 65
  },
  "hsl": {
    "h": 54.474,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82963,
    "c": 0.15306,
    "h": 103.4
  },
  "luminance": 0.57845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9CB41

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

Preview Lab → · Contrast checker → · Palette generator →

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