#D5CA4D#D5CA4D

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

Color values

HEX#D5CA4D
RGBrgb(213, 202, 77)
HSLhsl(55, 62%, 57%)
HSVhsv(55, 64%, 84%)
CMYKcmyk(0%, 5.2%, 63.8%, 16.5%)
CIE-LABlab(80.14, -11.02, 61.60)
CIE-LCHlch(80.14, 62.58, 100.14°)
OKLaboklab(82.5% -0.0355 0.1396)
OKLCHoklch(82.5% 0.144 104.3)
XYZxyz(49.9025, 56.9249, 15.3787)
Luminance0.5692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA4D #4D58D5
analogous
#D5864D #D5CA4D #9CD54D
triadic
#D5CA4D #4DD5CA #CA4DD5
tetradic
#D5CA4D #4DD586 #4D58D5 #D54D9C
square
#D5CA4D #4DD586 #4D58D5 #D54D9C
split-complementary
#D5CA4D #4D9CD5 #864DD5
monochromatic
#887F20 #B9AE2C #D5CA4D #E1D97F #ECE7B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CA4D#FFFFFF#000000##000000
##D5CA4D1.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)
#DBC33D
Deuteranopia (green-blind)
#DFC954
Tritanopia (blue-blind)
#E4BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5ca4d;
/* rgb */ color: rgb(213, 202, 77);
/* oklch */ color: oklch(82.5% 0.144 104.3);
Tailwind
colors: {
  custom: {
    50: '#e5d985',
    500: '#d5ca4d',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca4d;
$custom-light: #e5d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca4d",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 55.147,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82498,
    "c": 0.14407,
    "h": 104.3
  },
  "luminance": 0.56923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5CA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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