#D7CF5A#D7CF5A

#D7CF5A is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.138 H 105.4°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D7CF5A
RGBrgb(215, 207, 90)
HSLhsl(56, 61%, 60%)
HSVhsv(56, 58%, 84%)
CMYKcmyk(0%, 3.7%, 58.1%, 15.7%)
CIE-LABlab(81.74, -11.86, 57.80)
CIE-LCHlch(81.74, 59.01, 101.59°)
OKLaboklab(83.85% -0.0366 0.1333)
OKLCHoklch(83.85% 0.138 105.4)
XYZxyz(52.1843, 59.8126, 18.4670)
Luminance0.5981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF5A #5A62D7
analogous
#D7915A #D7CF5A #A1D75A
triadic
#D7CF5A #5AD7CF #CF5AD7
tetradic
#D7CF5A #5AD791 #5A62D7 #D75AA1
square
#D7CF5A #5AD791 #5A62D7 #D75AA1
split-complementary
#D7CF5A #5AA1D7 #915AD7
monochromatic
#938C24 #C4BB30 #D7CF5A #E3DD8B #EFECBD

Accessibility & contrast

On white

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

On black

12.96
#D7CF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF5A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF5A#FFFFFF#000000##000000
##D7CF5A1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84D
Deuteranopia (green-blind)
#E2CE60
Tritanopia (blue-blind)
#E5C2B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf5a;
/* rgb */ color: rgb(215, 207, 90);
/* oklch */ color: oklch(83.8% 0.138 105.4);
Tailwind
colors: {
  custom: {
    50: '#e6dd8d',
    500: '#d7cf5a',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf5a;
$custom-light: #e6dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf5a",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 56.16,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83846,
    "c": 0.13824,
    "h": 105.4
  },
  "luminance": 0.59811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7CF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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