#D9CA3D#D9CA3D

#D9CA3D is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.155 H 103.1°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D9CA3D
RGBrgb(217, 202, 61)
HSLhsl(54, 67%, 55%)
HSVhsv(54, 72%, 85%)
CMYKcmyk(0%, 6.9%, 71.9%, 14.9%)
CIE-LABlab(80.37, -10.19, 68.13)
CIE-LCHlch(80.37, 68.89, 98.50°)
OKLaboklab(82.73% -0.0351 0.1507)
OKLCHoklch(82.73% 0.155 103.1)
XYZxyz(50.5803, 57.3318, 12.8158)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA3D #3D4CD9
analogous
#D97C3D #D9CA3D #9AD93D
triadic
#D9CA3D #3DD9CA #CA3DD9
tetradic
#D9CA3D #3DD97C #3D4CD9 #D93D9A
square
#D9CA3D #3DD97C #3D4CD9 #D93D9A
split-complementary
#D9CA3D #3D9AD9 #7C3DD9
monochromatic
#827819 #B5A724 #D9CA3D #E3D870 #EDE6A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CA3D#FFFFFF#000000##000000
##D9CA3D1.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)
#DCC324
Deuteranopia (green-blind)
#E1CA47
Tritanopia (blue-blind)
#E9BCAE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9ca3d;
/* rgb */ color: rgb(217, 202, 61);
/* oklch */ color: oklch(82.7% 0.155 103.1);
Tailwind
colors: {
  custom: {
    50: '#e9d97c',
    500: '#d9ca3d',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca3d;
$custom-light: #e9d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca3d",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 61
  },
  "hsl": {
    "h": 54.231,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82726,
    "c": 0.15468,
    "h": 103.1
  },
  "luminance": 0.5733
}

Semantic roles & 50–950 ramp

primary
#D9CA3D
secondary
#313A89
accent
#4EEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9CA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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