#D5CA6B#D5CA6B

#D5CA6B is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.118 H 102.7°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#D5CA6B
RGBrgb(213, 202, 107)
HSLhsl(54, 56%, 63%)
HSVhsv(54, 50%, 84%)
CMYKcmyk(0%, 5.2%, 49.8%, 16.5%)
CIE-LABlab(80.43, -8.78, 48.38)
CIE-LCHlch(80.43, 49.17, 100.29°)
OKLaboklab(82.83% -0.0259 0.1148)
OKLCHoklch(82.83% 0.118 102.7)
XYZxyz(51.2164, 57.4504, 22.2982)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA6B #6B76D5
analogous
#D5956B #D5CA6B #ABD56B
triadic
#D5CA6B #6BD5CA #CA6BD5
tetradic
#D5CA6B #6BD595 #6B76D5 #D56BAB
square
#D5CA6B #6BD595 #6B76D5 #D56BAB
split-complementary
#D5CA6B #6BABD5 #956BD5
monochromatic
#9A8E2C #C7B93B #D5CA6B #E3DB9B #F0ECCA

Accessibility & contrast

On white

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

On black

12.49
#D5CA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA6B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA6B#FFFFFF#000000##000000
##D5CA6B1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C463
Deuteranopia (green-blind)
#DCCA6F
Tritanopia (blue-blind)
#E2BFB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5ca6b;
/* rgb */ color: rgb(213, 202, 107);
/* oklch */ color: oklch(82.8% 0.118 102.7);
Tailwind
colors: {
  custom: {
    50: '#e4d997',
    500: '#d5ca6b',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca6b;
$custom-light: #e4d997;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca6b",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 107
  },
  "hsl": {
    "h": 53.774,
    "s": 55.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82828,
    "c": 0.11763,
    "h": 102.7
  },
  "luminance": 0.57449
}

Semantic roles & 50–950 ramp

primary
#D5CA6B
secondary
#464F9F
accent
#33C322
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D5CA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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