#D6CA5A#D6CA5A

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

Color values

HEX#D6CA5A
RGBrgb(214, 202, 90)
HSLhsl(54, 60%, 60%)
HSVhsv(54, 58%, 84%)
CMYKcmyk(0%, 5.6%, 57.9%, 16.1%)
CIE-LABlab(80.34, -9.74, 56.22)
CIE-LCHlch(80.34, 57.05, 99.83°)
OKLaboklab(82.71% -0.0305 0.1299)
OKLCHoklch(82.71% 0.133 103.2)
XYZxyz(50.6993, 57.2772, 18.0559)
Luminance0.5727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA5A #5A66D6
analogous
#D68C5A #D6CA5A #A4D65A
triadic
#D6CA5A #5AD6CA #CA5AD6
tetradic
#D6CA5A #5AD68C #5A66D6 #D65AA4
square
#D6CA5A #5AD68C #5A66D6 #D65AA4
split-complementary
#D6CA5A #5AA4D6 #8C5AD6
monochromatic
#918724 #C2B430 #D6CA5A #E2DA8B #EEE9BC

Accessibility & contrast

On white

1.69
#D6CA5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#D6CA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CA5A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CA5A#FFFFFF#000000##000000
##D6CA5A1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44E
Deuteranopia (green-blind)
#DECA60
Tritanopia (blue-blind)
#E5BEB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6ca5a;
/* rgb */ color: rgb(214, 202, 90);
/* oklch */ color: oklch(82.7% 0.133 103.2);
Tailwind
colors: {
  custom: {
    50: '#e5d98c',
    500: '#d6ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca5a;
$custom-light: #e5d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca5a",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 54.194,
    "s": 60.194,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82712,
    "c": 0.13346,
    "h": 103.2
  },
  "luminance": 0.57275
}

Semantic roles & 50–950 ramp

primary
#D6CA5A
secondary
#3D4697
accent
#54E344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D6CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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