#D5CD4B#D5CD4B

#D5CD4B is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.148 H 105.8°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D5CD4B
RGBrgb(213, 205, 75)
HSLhsl(57, 62%, 56%)
HSVhsv(57, 65%, 84%)
CMYKcmyk(0%, 3.8%, 64.8%, 16.5%)
CIE-LABlab(80.92, -12.65, 63.23)
CIE-LCHlch(80.92, 64.49, 101.32°)
OKLaboklab(83.11% -0.0404 0.1428)
OKLCHoklch(83.11% 0.148 105.8)
XYZxyz(50.5437, 58.3185, 15.2494)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD4B #4B53D5
analogous
#D5884B #D5CD4B #98D54B
triadic
#D5CD4B #4BD5CD #CD4BD5
tetradic
#D5CD4B #4BD588 #4B53D5 #D54B98
square
#D5CD4B #4BD588 #4B53D5 #D54B98
split-complementary
#D5CD4B #4B98D5 #884BD5
monochromatic
#86801F #B8B02B #D5CD4B #E1DB7D #ECE9AE

Accessibility & contrast

On white

1.66
#D5CD4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#D5CD4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD4B
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD4B#FFFFFF#000000##000000
##D5CD4B1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63A
Deuteranopia (green-blind)
#E1CB53
Tritanopia (blue-blind)
#E4C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd4b;
/* rgb */ color: rgb(213, 205, 75);
/* oklch */ color: oklch(83.1% 0.148 105.8);
Tailwind
colors: {
  custom: {
    50: '#e5dc84',
    500: '#d5cd4b',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd4b;
$custom-light: #e5dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd4b",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 56.522,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83113,
    "c": 0.14838,
    "h": 105.8
  },
  "luminance": 0.58317
}

Semantic roles & 50–950 ramp

primary
#D5CD4B
secondary
#373C8D
accent
#4CE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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