#D7CF5B#D7CF5B

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

Color values

HEX#D7CF5B
RGBrgb(215, 207, 91)
HSLhsl(56, 61%, 60%)
HSVhsv(56, 58%, 84%)
CMYKcmyk(0%, 3.7%, 57.7%, 15.7%)
CIE-LABlab(81.75, -11.78, 57.37)
CIE-LCHlch(81.75, 58.57, 101.61°)
OKLaboklab(83.86% -0.0363 0.1325)
OKLCHoklch(83.86% 0.137 105.3)
XYZxyz(52.2272, 59.8298, 18.6927)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF5B #5B63D7
analogous
#D7915B #D7CF5B #A1D75B
triadic
#D7CF5B #5BD7CF #CF5BD7
tetradic
#D7CF5B #5BD791 #5B63D7 #D75BA1
square
#D7CF5B #5BD791 #5B63D7 #D75BA1
split-complementary
#D7CF5B #5BA1D7 #915BD7
monochromatic
#948C24 #C5BB30 #D7CF5B #E3DD8C #EFECBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CF5B#FFFFFF#000000##000000
##D7CF5B1.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)
#DFC84F
Deuteranopia (green-blind)
#E2CE61
Tritanopia (blue-blind)
#E5C3B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf5b;
/* rgb */ color: rgb(215, 207, 91);
/* oklch */ color: oklch(83.9% 0.137 105.3);
Tailwind
colors: {
  custom: {
    50: '#e6dd8d',
    500: '#d7cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf5b;
$custom-light: #e6dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf5b",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 56.129,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.83857,
    "c": 0.13738,
    "h": 105.3
  },
  "luminance": 0.59828
}

Semantic roles & 50–950 ramp

primary
#D7CF5B
secondary
#3E4399
accent
#4EE444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D7CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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