#D5CA4F#D5CA4F

#D5CA4F is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.143 H 104.2°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D5CA4F
RGBrgb(213, 202, 79)
HSLhsl(55, 61%, 57%)
HSVhsv(55, 63%, 84%)
CMYKcmyk(0%, 5.2%, 62.9%, 16.5%)
CIE-LABlab(80.15, -10.90, 60.78)
CIE-LCHlch(80.15, 61.75, 100.16°)
OKLaboklab(82.52% -0.035 0.1382)
OKLCHoklch(82.52% 0.143 104.2)
XYZxyz(49.9742, 56.9535, 15.7563)
Luminance0.5695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA4F #4F5AD5
analogous
#D5874F #D5CA4F #9DD54F
triadic
#D5CA4F #4FD5CA #CA4FD5
tetradic
#D5CA4F #4FD587 #4F5AD5 #D54F9D
square
#D5CA4F #4FD587 #4F5AD5 #D54F9D
split-complementary
#D5CA4F #4F9DD5 #874FD5
monochromatic
#898021 #BAAF2C #D5CA4F #E1D980 #EDE8B2

Accessibility & contrast

On white

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

On black

12.39
#D5CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA4F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA4F#FFFFFF#000000##000000
##D5CA4F1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC340
Deuteranopia (green-blind)
#DFC956
Tritanopia (blue-blind)
#E4BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5ca4f;
/* rgb */ color: rgb(213, 202, 79);
/* oklch */ color: oklch(82.5% 0.143 104.2);
Tailwind
colors: {
  custom: {
    50: '#e5d986',
    500: '#d5ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca4f;
$custom-light: #e5d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca4f",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 55.075,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82516,
    "c": 0.14255,
    "h": 104.2
  },
  "luminance": 0.56952
}

Semantic roles & 50–950 ramp

primary
#D5CA4F
secondary
#39408F
accent
#50E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D5CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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