#D5CD5E#D5CD5E

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

Color values

HEX#D5CD5E
RGBrgb(213, 205, 94)
HSLhsl(56, 59%, 60%)
HSVhsv(56, 56%, 84%)
CMYKcmyk(0%, 3.8%, 55.9%, 16.5%)
CIE-LABlab(81.08, -11.38, 55.23)
CIE-LCHlch(81.08, 56.39, 101.64°)
OKLaboklab(83.3% -0.0347 0.1283)
OKLCHoklch(83.3% 0.133 105.1)
XYZxyz(51.2939, 58.6186, 19.2001)
Luminance0.5862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD5E #5E66D5
analogous
#D5915E #D5CD5E #A2D55E
triadic
#D5CD5E #5ED5CD #CD5ED5
tetradic
#D5CD5E #5ED591 #5E66D5 #D55EA2
square
#D5CD5E #5ED591 #5E66D5 #D55EA2
split-complementary
#D5CD5E #5EA2D5 #915ED5
monochromatic
#928B26 #C3B933 #D5CD5E #E2DC8F #EEEBBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CD5E#FFFFFF#000000##000000
##D5CD5E1.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)
#DDC653
Deuteranopia (green-blind)
#E0CC64
Tritanopia (blue-blind)
#E3C1B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd5e;
/* rgb */ color: rgb(213, 205, 94);
/* oklch */ color: oklch(83.3% 0.133 105.1);
Tailwind
colors: {
  custom: {
    50: '#e4dc8f',
    500: '#d5cd5e',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd5e;
$custom-light: #e4dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd5e",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 94
  },
  "hsl": {
    "h": 55.966,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83298,
    "c": 0.13292,
    "h": 105.1
  },
  "luminance": 0.58617
}

Semantic roles & 50–950 ramp

primary
#D5CD5E
secondary
#3F4598
accent
#2AC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5CD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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