#D9CD4B#D9CD4B

#D9CD4B is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.148 H 104.0°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D9CD4B
RGBrgb(217, 205, 75)
HSLhsl(55, 65%, 57%)
HSVhsv(55, 65%, 85%)
CMYKcmyk(0%, 5.5%, 65.4%, 14.9%)
CIE-LABlab(81.25, -10.98, 63.68)
CIE-LCHlch(81.25, 64.62, 99.78°)
OKLaboklab(83.46% -0.0359 0.1436)
OKLCHoklch(83.46% 0.148 104)
XYZxyz(51.7186, 58.9243, 15.3045)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD4B #4B57D9
analogous
#D9864B #D9CD4B #9ED94B
triadic
#D9CD4B #4BD9CD #CD4BD9
tetradic
#D9CD4B #4BD986 #4B57D9 #D94B9E
square
#D9CD4B #4BD986 #4B57D9 #D94B9E
split-complementary
#D9CD4B #4B9ED9 #864BD9
monochromatic
#8C831E #BFB228 #D9CD4B #E4DB7E #EEE9B0

Accessibility & contrast

On white

1.64
#D9CD4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D9CD4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD4B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD4B#FFFFFF#000000##000000
##D9CD4B1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63A
Deuteranopia (green-blind)
#E2CD53
Tritanopia (blue-blind)
#E9C0B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd4b;
/* rgb */ color: rgb(217, 205, 75);
/* oklch */ color: oklch(83.5% 0.148 104.0);
Tailwind
colors: {
  custom: {
    50: '#e8dc84',
    500: '#d9cd4b',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd4b;
$custom-light: #e8dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd4b",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 54.93,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83459,
    "c": 0.14803,
    "h": 104
  },
  "luminance": 0.58922
}

Semantic roles & 50–950 ramp

primary
#D9CD4B
secondary
#363E92
accent
#4EE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9CD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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