#D5CD3B#D5CD3B

#D5CD3B is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.159 H 106.2°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D5CD3B
RGBrgb(213, 205, 59)
HSLhsl(57, 65%, 53%)
HSVhsv(57, 72%, 84%)
CMYKcmyk(0%, 3.8%, 72.3%, 16.5%)
CIE-LABlab(80.81, -13.48, 69.14)
CIE-LCHlch(80.81, 70.45, 101.03°)
OKLaboklab(82.99% -0.0443 0.1526)
OKLCHoklch(82.99% 0.159 106.2)
XYZxyz(50.0633, 58.1264, 12.7192)
Luminance0.5813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD3B #3B43D5
analogous
#D5803B #D5CD3B #90D53B
triadic
#D5CD3B #3BD5CD #CD3BD5
tetradic
#D5CD3B #3BD580 #3B43D5 #D53B90
square
#D5CD3B #3BD580 #3B43D5 #D53B90
split-complementary
#D5CD3B #3B90D5 #803BD5
monochromatic
#7B761A #AEA725 #D5CD3B #E0DA6D #EBE7A0

Accessibility & contrast

On white

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

On black

12.63
#D5CD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD3B
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD3B#FFFFFF#000000##000000
##D5CD3B1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC51F
Deuteranopia (green-blind)
#E2CB46
Tritanopia (blue-blind)
#E5BFB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd3b;
/* rgb */ color: rgb(213, 205, 59);
/* oklch */ color: oklch(83.0% 0.159 106.2);
Tailwind
colors: {
  custom: {
    50: '#e6db7b',
    500: '#d5cd3b',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd3b;
$custom-light: #e6db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd3b",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 59
  },
  "hsl": {
    "h": 56.883,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82994,
    "c": 0.15889,
    "h": 106.2
  },
  "luminance": 0.58125
}

Semantic roles & 50–950 ramp

primary
#D5CD3B
secondary
#313683
accent
#49E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5CD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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