#D5CD51#D5CD51

#D5CD51 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.144 H 105.6°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D5CD51
RGBrgb(213, 205, 81)
HSLhsl(56, 61%, 58%)
HSVhsv(56, 62%, 84%)
CMYKcmyk(0%, 3.8%, 62%, 16.5%)
CIE-LABlab(80.96, -12.29, 60.80)
CIE-LCHlch(80.96, 62.03, 101.42°)
OKLaboklab(83.17% -0.0387 0.1385)
OKLCHoklch(83.17% 0.144 105.6)
XYZxyz(50.7589, 58.4046, 16.3824)
Luminance0.5840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD51 #5159D5
analogous
#D58B51 #D5CD51 #9BD551
triadic
#D5CD51 #51D5CD #CD51D5
tetradic
#D5CD51 #51D58B #5159D5 #D5519B
square
#D5CD51 #51D58B #5159D5 #D5519B
split-complementary
#D5CD51 #519BD5 #8B51D5
monochromatic
#8A8421 #BCB32D #D5CD51 #E1DB82 #EDE9B4

Accessibility & contrast

On white

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

On black

12.68
#D5CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD51
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD51#FFFFFF#000000##000000
##D5CD511.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#E1CC58
Tritanopia (blue-blind)
#E4C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd51;
/* rgb */ color: rgb(213, 205, 81);
/* oklch */ color: oklch(83.2% 0.144 105.6);
Tailwind
colors: {
  custom: {
    50: '#e5dc87',
    500: '#d5cd51',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd51;
$custom-light: #e5dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd51",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 56.364,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83166,
    "c": 0.14384,
    "h": 105.6
  },
  "luminance": 0.58403
}

Semantic roles & 50–950 ramp

primary
#D5CD51
secondary
#3A3F90
accent
#4DE444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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