#D6CA5B#D6CA5B

#D6CA5B 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#D6CA5B
RGBrgb(214, 202, 91)
HSLhsl(54, 60%, 60%)
HSVhsv(54, 57%, 84%)
CMYKcmyk(0%, 5.6%, 57.5%, 16.1%)
CIE-LABlab(80.34, -9.67, 55.78)
CIE-LCHlch(80.34, 56.61, 99.83°)
OKLaboklab(82.72% -0.0302 0.1291)
OKLCHoklch(82.72% 0.133 103.2)
XYZxyz(50.7421, 57.2943, 18.2815)
Luminance0.5729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA5B #5B67D6
analogous
#D68C5B #D6CA5B #A5D65B
triadic
#D6CA5B #5BD6CA #CA5BD6
tetradic
#D6CA5B #5BD68C #5B67D6 #D65BA5
square
#D6CA5B #5BD68C #5B67D6 #D65BA5
split-complementary
#D6CA5B #5BA5D6 #8C5BD6
monochromatic
#928725 #C3B531 #D6CA5B #E2DA8C #EEEABD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6CA5B#FFFFFF#000000##000000
##D6CA5B1.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)
#DAC44F
Deuteranopia (green-blind)
#DECA61
Tritanopia (blue-blind)
#E5BEB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6ca5b;
/* rgb */ color: rgb(214, 202, 91);
/* oklch */ color: oklch(82.7% 0.133 103.2);
Tailwind
colors: {
  custom: {
    50: '#e5d98d',
    500: '#d6ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca5b;
$custom-light: #e5d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca5b",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 54.146,
    "s": 60,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82723,
    "c": 0.1326,
    "h": 103.2
  },
  "luminance": 0.57293
}

Semantic roles & 50–950 ramp

primary
#D6CA5B
secondary
#3E4797
accent
#54E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D6CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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