#D5CD5C#D5CD5C

#D5CD5C is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.135 H 105.2°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D5CD5C
RGBrgb(213, 205, 92)
HSLhsl(56, 59%, 60%)
HSVhsv(56, 57%, 84%)
CMYKcmyk(0%, 3.8%, 56.8%, 16.5%)
CIE-LABlab(81.06, -11.53, 56.11)
CIE-LCHlch(81.06, 57.28, 101.61°)
OKLaboklab(83.28% -0.0353 0.13)
OKLCHoklch(83.28% 0.135 105.2)
XYZxyz(51.2053, 58.5831, 18.7335)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD5C #5C64D5
analogous
#D5915C #D5CD5C #A1D55C
triadic
#D5CD5C #5CD5CD #CD5CD5
tetradic
#D5CD5C #5CD591 #5C64D5 #D55CA1
square
#D5CD5C #5CD591 #5C64D5 #D55CA1
split-complementary
#D5CD5C #5CA1D5 #915CD5
monochromatic
#918A25 #C2B832 #D5CD5C #E2DC8D #EEEBBD

Accessibility & contrast

On white

1.65
#D5CD5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#D5CD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD5C
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD5C#FFFFFF#000000##000000
##D5CD5C1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC650
Deuteranopia (green-blind)
#E0CC62
Tritanopia (blue-blind)
#E3C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd5c;
/* rgb */ color: rgb(213, 205, 92);
/* oklch */ color: oklch(83.3% 0.135 105.2);
Tailwind
colors: {
  custom: {
    50: '#e4dc8e',
    500: '#d5cd5c',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd5c;
$custom-light: #e4dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd5c",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 56.033,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83276,
    "c": 0.13469,
    "h": 105.2
  },
  "luminance": 0.58581
}

Semantic roles & 50–950 ramp

primary
#D5CD5C
secondary
#3F4497
accent
#50E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5CD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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