#D7CD5F#D7CD5F

#D7CD5F is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.132 H 104.1°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D7CD5F
RGBrgb(215, 205, 95)
HSLhsl(55, 60%, 61%)
HSVhsv(55, 56%, 84%)
CMYKcmyk(0%, 4.7%, 55.8%, 15.7%)
CIE-LABlab(81.26, -10.48, 55.02)
CIE-LCHlch(81.26, 56.01, 100.78°)
OKLaboklab(83.48% -0.0321 0.1279)
OKLCHoklch(83.48% 0.132 104.1)
XYZxyz(51.9229, 58.9377, 19.4653)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD5F #5F69D7
analogous
#D7915F #D7CD5F #A5D75F
triadic
#D7CD5F #5FD7CD #CD5FD7
tetradic
#D7CD5F #5FD791 #5F69D7 #D75FA5
square
#D7CD5F #5FD791 #5F69D7 #D75FA5
split-complementary
#D7CD5F #5FA5D7 #915FD7
monochromatic
#968D26 #C7BB32 #D7CD5F #E3DC90 #EFECC1

Accessibility & contrast

On white

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

On black

12.79
#D7CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD5F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD5F#FFFFFF#000000##000000
##D7CD5F1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC754
Deuteranopia (green-blind)
#E0CC65
Tritanopia (blue-blind)
#E5C1B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd5f;
/* rgb */ color: rgb(215, 205, 95);
/* oklch */ color: oklch(83.5% 0.132 104.1);
Tailwind
colors: {
  custom: {
    50: '#e6dc90',
    500: '#d7cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd5f;
$custom-light: #e6dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd5f",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 55,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83481,
    "c": 0.1319,
    "h": 104.1
  },
  "luminance": 0.58936
}

Semantic roles & 50–950 ramp

primary
#D7CD5F
secondary
#3F479B
accent
#2CC81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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