#D5CD5F#D5CD5F

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

Color values

HEX#D5CD5F
RGBrgb(213, 205, 95)
HSLhsl(56, 58%, 60%)
HSVhsv(56, 55%, 84%)
CMYKcmyk(0%, 3.8%, 55.4%, 16.5%)
CIE-LABlab(81.09, -11.30, 54.78)
CIE-LCHlch(81.09, 55.94, 101.65°)
OKLaboklab(83.31% -0.0344 0.1275)
OKLCHoklch(83.31% 0.132 105.1)
XYZxyz(51.3390, 58.6366, 19.4379)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD5F #5F67D5
analogous
#D5925F #D5CD5F #A2D55F
triadic
#D5CD5F #5FD5CD #CD5FD5
tetradic
#D5CD5F #5FD592 #5F67D5 #D55FA2
square
#D5CD5F #5FD592 #5F67D5 #D55FA2
split-complementary
#D5CD5F #5FA2D5 #925FD5
monochromatic
#938C27 #C3BA33 #D5CD5F #E2DC8F #EEEBC0

Accessibility & contrast

On white

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

On black

12.73
#D5CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD5F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD5F#FFFFFF#000000##000000
##D5CD5F1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC654
Deuteranopia (green-blind)
#E0CC65
Tritanopia (blue-blind)
#E3C1B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd5f;
/* rgb */ color: rgb(213, 205, 95);
/* oklch */ color: oklch(83.3% 0.132 105.1);
Tailwind
colors: {
  custom: {
    50: '#e4dc90',
    500: '#d5cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd5f;
$custom-light: #e4dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd5f",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 55.932,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83309,
    "c": 0.13202,
    "h": 105.1
  },
  "luminance": 0.58635
}

Semantic roles & 50–950 ramp

primary
#D5CD5F
secondary
#404698
accent
#2BC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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