#D9CA3F#D9CA3F

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

Color values

HEX#D9CA3F
RGBrgb(217, 202, 63)
HSLhsl(54, 67%, 55%)
HSVhsv(54, 71%, 85%)
CMYKcmyk(0%, 6.9%, 71%, 14.9%)
CIE-LABlab(80.38, -10.09, 67.42)
CIE-LCHlch(80.38, 68.17, 98.51°)
OKLaboklab(82.74% -0.0346 0.1495)
OKLCHoklch(82.74% 0.153 103)
XYZxyz(50.6352, 57.3538, 13.1049)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA3F #3F4ED9
analogous
#D97D3F #D9CA3F #9BD93F
triadic
#D9CA3F #3FD9CA #CA3FD9
tetradic
#D9CA3F #3FD97D #3F4ED9 #D93F9B
square
#D9CA3F #3FD97D #3F4ED9 #D93F9B
split-complementary
#D9CA3F #3F9BD9 #7D3FD9
monochromatic
#84791A #B7A824 #D9CA3F #E3D872 #EDE6A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CA3F#FFFFFF#000000##000000
##D9CA3F1.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)
#DCC328
Deuteranopia (green-blind)
#E1CA48
Tritanopia (blue-blind)
#E9BCAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9ca3f;
/* rgb */ color: rgb(217, 202, 63);
/* oklch */ color: oklch(82.7% 0.153 103.0);
Tailwind
colors: {
  custom: {
    50: '#e9d97d',
    500: '#d9ca3f',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca3f;
$custom-light: #e9d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca3f",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 54.156,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82739,
    "c": 0.15347,
    "h": 103
  },
  "luminance": 0.57352
}

Semantic roles & 50–950 ramp

primary
#D9CA3F
secondary
#323B8A
accent
#4FEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9CA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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