#D5CD75#D5CD75

#D5CD75 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.110 H 103.9°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D5CD75
RGBrgb(213, 205, 117)
HSLhsl(55, 53%, 65%)
HSVhsv(55, 45%, 84%)
CMYKcmyk(0%, 3.8%, 45.1%, 16.5%)
CIE-LABlab(81.34, -9.38, 44.61)
CIE-LCHlch(81.34, 45.58, 101.88°)
OKLaboklab(83.59% -0.0266 0.1072)
OKLCHoklch(83.59% 0.11 103.9)
XYZxyz(52.4840, 59.0946, 25.4679)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD75 #757DD5
analogous
#D59D75 #D5CD75 #ADD575
triadic
#D5CD75 #75D5CD #CD75D5
tetradic
#D5CD75 #75D59D #757DD5 #D575AD
square
#D5CD75 #75D59D #757DD5 #D575AD
split-complementary
#D5CD75 #75ADD5 #9D75D5
monochromatic
#9F9630 #C7BC46 #D5CD75 #E3DEA4 #F2EFD3

Accessibility & contrast

On white

1.64
#D5CD75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#D5CD75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD75
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD75#FFFFFF#000000##000000
##D5CD751.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76E
Deuteranopia (green-blind)
#DECC79
Tritanopia (blue-blind)
#E2C2B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd75;
/* rgb */ color: rgb(213, 205, 117);
/* oklch */ color: oklch(83.6% 0.110 103.9);
Tailwind
colors: {
  custom: {
    50: '#e3dc9e',
    500: '#d5cd75',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd75;
$custom-light: #e3dc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd75",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 117
  },
  "hsl": {
    "h": 55,
    "s": 53.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83591,
    "c": 0.11043,
    "h": 103.9
  },
  "luminance": 0.59093
}

Semantic roles & 50–950 ramp

primary
#D5CD75
secondary
#4B52A4
accent
#32C125
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CD75

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

Preview Lab → · Contrast checker → · Palette generator →

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