#D5CA5B#D5CA5B

#D5CA5B is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.133 H 103.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D5CA5B
RGBrgb(213, 202, 91)
HSLhsl(55, 59%, 60%)
HSVhsv(55, 57%, 84%)
CMYKcmyk(0%, 5.2%, 57.3%, 16.5%)
CIE-LABlab(80.26, -10.08, 55.66)
CIE-LCHlch(80.26, 56.56, 100.26°)
OKLaboklab(82.64% -0.0313 0.1289)
OKLCHoklch(82.64% 0.133 103.7)
XYZxyz(50.4511, 57.1443, 18.2679)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA5B #5B66D5
analogous
#D58D5B #D5CA5B #A3D55B
triadic
#D5CA5B #5BD5CA #CA5BD5
tetradic
#D5CA5B #5BD58D #5B66D5 #D55BA3
square
#D5CA5B #5BD58D #5B66D5 #D55BA3
split-complementary
#D5CA5B #5BA3D5 #8D5BD5
monochromatic
#918725 #C1B432 #D5CA5B #E1DA8C #EEE9BC

Accessibility & contrast

On white

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

On black

12.43
#D5CA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA5B
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA5B#FFFFFF#000000##000000
##D5CA5B1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44F
Deuteranopia (green-blind)
#DECA61
Tritanopia (blue-blind)
#E3BEB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5ca5b;
/* rgb */ color: rgb(213, 202, 91);
/* oklch */ color: oklch(82.6% 0.133 103.7);
Tailwind
colors: {
  custom: {
    50: '#e5d98d',
    500: '#d5ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca5b;
$custom-light: #e5d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca5b",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 54.59,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82636,
    "c": 0.13263,
    "h": 103.7
  },
  "luminance": 0.57143
}

Semantic roles & 50–950 ramp

primary
#D5CA5B
secondary
#3E4696
accent
#54E245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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