#D6CA5F#D6CA5F

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

Color values

HEX#D6CA5F
RGBrgb(214, 202, 95)
HSLhsl(54, 59%, 61%)
HSVhsv(54, 56%, 84%)
CMYKcmyk(0%, 5.6%, 55.6%, 16.1%)
CIE-LABlab(80.38, -9.36, 54.00)
CIE-LCHlch(80.38, 54.80, 99.84°)
OKLaboklab(82.77% -0.0289 0.1258)
OKLCHoklch(82.77% 0.129 102.9)
XYZxyz(50.9193, 57.3652, 19.2146)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA5F #5F6BD6
analogous
#D68F5F #D6CA5F #A6D65F
triadic
#D6CA5F #5FD6CA #CA5FD6
tetradic
#D6CA5F #5FD68F #5F6BD6 #D65FA6
square
#D6CA5F #5FD68F #5F6BD6 #D65FA6
split-complementary
#D6CA5F #5FA6D6 #8F5FD6
monochromatic
#958926 #C5B633 #D6CA5F #E2DA90 #EFEAC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6CA5F#FFFFFF#000000##000000
##D6CA5F1.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)
#DAC454
Deuteranopia (green-blind)
#DECA64
Tritanopia (blue-blind)
#E4BEB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6ca5f;
/* rgb */ color: rgb(214, 202, 95);
/* oklch */ color: oklch(82.8% 0.129 102.9);
Tailwind
colors: {
  custom: {
    50: '#e5d990',
    500: '#d6ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca5f;
$custom-light: #e5d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca5f",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 53.95,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82767,
    "c": 0.12904,
    "h": 102.9
  },
  "luminance": 0.57363
}

Semantic roles & 50–950 ramp

primary
#D6CA5F
secondary
#40499A
accent
#30C71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D6CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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