#D5CA4E#D5CA4E

#D5CA4E is a very light, vivid yellow. Relative luminance 0.569; 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#D5CA4E
RGBrgb(213, 202, 78)
HSLhsl(55, 62%, 57%)
HSVhsv(55, 63%, 84%)
CMYKcmyk(0%, 5.2%, 63.4%, 16.5%)
CIE-LABlab(80.15, -10.96, 61.19)
CIE-LCHlch(80.15, 62.16, 100.15°)
OKLaboklab(82.51% -0.0353 0.1389)
OKLCHoklch(82.51% 0.143 104.2)
XYZxyz(49.9381, 56.9391, 15.5661)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA4E #4E59D5
analogous
#D5874E #D5CA4E #9DD54E
triadic
#D5CA4E #4ED5CA #CA4ED5
tetradic
#D5CA4E #4ED587 #4E59D5 #D54E9D
square
#D5CA4E #4ED587 #4E59D5 #D54E9D
split-complementary
#D5CA4E #4E9DD5 #874ED5
monochromatic
#888020 #BAAE2C #D5CA4E #E1D97F #ECE8B1

Accessibility & contrast

On white

1.70
#D5CA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CA4E#FFFFFF#000000##000000
##D5CA4E1.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5ca4e;
/* rgb */ color: rgb(213, 202, 78);
/* oklch */ color: oklch(82.5% 0.143 104.2);
Tailwind
colors: {
  custom: {
    50: '#e5d985',
    500: '#d5ca4e',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca4e;
$custom-light: #e5d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca4e",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 78
  },
  "hsl": {
    "h": 55.111,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82507,
    "c": 0.14332,
    "h": 104.2
  },
  "luminance": 0.56937
}

Semantic roles & 50–950 ramp

primary
#D5CA4E
secondary
#39408F
accent
#50E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5CA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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