#D5CA5F#D5CA5F

#D5CA5F is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.129 H 103.4°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#D5CA5F
RGBrgb(213, 202, 95)
HSLhsl(54, 58%, 60%)
HSVhsv(54, 55%, 84%)
CMYKcmyk(0%, 5.2%, 55.4%, 16.5%)
CIE-LABlab(80.30, -9.78, 53.88)
CIE-LCHlch(80.30, 54.76, 100.29°)
OKLaboklab(82.68% -0.03 0.1255)
OKLCHoklch(82.68% 0.129 103.4)
XYZxyz(50.6283, 57.2152, 19.2010)
Luminance0.5721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA5F #5F6AD5
analogous
#D58F5F #D5CA5F #A5D55F
triadic
#D5CA5F #5FD5CA #CA5FD5
tetradic
#D5CA5F #5FD58F #5F6AD5 #D55FA5
square
#D5CA5F #5FD58F #5F6AD5 #D55FA5
split-complementary
#D5CA5F #5FA5D5 #8F5FD5
monochromatic
#938927 #C3B633 #D5CA5F #E2DA8F #EEEAC0

Accessibility & contrast

On white

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

On black

12.44
#D5CA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA5F
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA5F#FFFFFF#000000##000000
##D5CA5F1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5ca5f;
/* rgb */ color: rgb(213, 202, 95);
/* oklch */ color: oklch(82.7% 0.129 103.4);
Tailwind
colors: {
  custom: {
    50: '#e4d990',
    500: '#d5ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca5f;
$custom-light: #e4d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca5f",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 54.407,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8268,
    "c": 0.12907,
    "h": 103.4
  },
  "luminance": 0.57213
}

Semantic roles & 50–950 ramp

primary
#D5CA5F
secondary
#404898
accent
#2FC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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