#D7CF5D#D7CF5D

#D7CF5D is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.9% C 0.136 H 105.2°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D7CF5D
RGBrgb(215, 207, 93)
HSLhsl(56, 60%, 60%)
HSVhsv(56, 57%, 84%)
CMYKcmyk(0%, 3.7%, 56.7%, 15.7%)
CIE-LABlab(81.76, -11.64, 56.50)
CIE-LCHlch(81.76, 57.68, 101.64°)
OKLaboklab(83.88% -0.0357 0.1309)
OKLCHoklch(83.88% 0.136 105.2)
XYZxyz(52.3146, 59.8647, 19.1531)
Luminance0.5986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF5D #5D65D7
analogous
#D7925D #D7CF5D #A2D75D
triadic
#D7CF5D #5DD7CF #CF5DD7
tetradic
#D7CF5D #5DD792 #5D65D7 #D75DA2
square
#D7CF5D #5DD792 #5D65D7 #D75DA2
split-complementary
#D7CF5D #5DA2D7 #925DD7
monochromatic
#958D25 #C6BC31 #D7CF5D #E3DE8E #EFECBF

Accessibility & contrast

On white

1.62
#D7CF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#D7CF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF5D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF5D#FFFFFF#000000##000000
##D7CF5D1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC851
Deuteranopia (green-blind)
#E2CE63
Tritanopia (blue-blind)
#E5C3B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf5d;
/* rgb */ color: rgb(215, 207, 93);
/* oklch */ color: oklch(83.9% 0.136 105.2);
Tailwind
colors: {
  custom: {
    50: '#e6dd8f',
    500: '#d7cf5d',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf5d;
$custom-light: #e6dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf5d",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 56.066,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83878,
    "c": 0.13565,
    "h": 105.2
  },
  "luminance": 0.59863
}

Semantic roles & 50–950 ramp

primary
#D7CF5D
secondary
#3E449A
accent
#29C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7CF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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