#D5CA4C#D5CA4C

#D5CA4C is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.145 H 104.3°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D5CA4C
RGBrgb(213, 202, 76)
HSLhsl(55, 62%, 57%)
HSVhsv(55, 64%, 84%)
CMYKcmyk(0%, 5.2%, 64.3%, 16.5%)
CIE-LABlab(80.13, -11.08, 62.00)
CIE-LCHlch(80.13, 62.99, 100.13°)
OKLaboklab(82.49% -0.0358 0.1403)
OKLCHoklch(82.49% 0.145 104.3)
XYZxyz(49.8675, 56.9108, 15.1942)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA4C #4C57D5
analogous
#D5854C #D5CA4C #9CD54C
triadic
#D5CA4C #4CD5CA #CA4CD5
tetradic
#D5CA4C #4CD585 #4C57D5 #D54C9C
square
#D5CA4C #4CD585 #4C57D5 #D54C9C
split-complementary
#D5CA4C #4C9CD5 #854CD5
monochromatic
#877F20 #B9AD2B #D5CA4C #E1D97E #ECE7AF

Accessibility & contrast

On white

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

On black

12.38
#D5CA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA4C
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA4C#FFFFFF#000000##000000
##D5CA4C1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5ca4c;
/* rgb */ color: rgb(213, 202, 76);
/* oklch */ color: oklch(82.5% 0.145 104.3);
Tailwind
colors: {
  custom: {
    50: '#e5d984',
    500: '#d5ca4c',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca4c;
$custom-light: #e5d984;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca4c",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 55.182,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82489,
    "c": 0.14483,
    "h": 104.3
  },
  "luminance": 0.56909
}

Semantic roles & 50–950 ramp

primary
#D5CA4C
secondary
#383F8D
accent
#50E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5CA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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