#D7CD4F#D7CD4F

#D7CD4F is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.145 H 104.8°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#D7CD4F
RGBrgb(215, 205, 79)
HSLhsl(56, 63%, 58%)
HSVhsv(56, 63%, 84%)
CMYKcmyk(0%, 4.7%, 63.3%, 15.7%)
CIE-LABlab(81.11, -11.58, 61.85)
CIE-LCHlch(81.11, 62.93, 100.60°)
OKLaboklab(83.32% -0.037 0.1404)
OKLCHoklch(83.32% 0.145 104.8)
XYZxyz(51.2688, 58.6761, 16.0206)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD4F #4F59D7
analogous
#D7894F #D7CD4F #9DD74F
triadic
#D7CD4F #4FD7CD #CD4FD7
tetradic
#D7CD4F #4FD789 #4F59D7 #D74F9D
square
#D7CD4F #4FD789 #4F59D7 #D74F9D
split-complementary
#D7CD4F #4F9DD7 #894FD7
monochromatic
#8C8420 #BEB32B #D7CD4F #E2DB81 #EEE9B3

Accessibility & contrast

On white

1.65
#D7CD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#D7CD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD4F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD4F#FFFFFF#000000##000000
##D7CD4F1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63F
Deuteranopia (green-blind)
#E2CC56
Tritanopia (blue-blind)
#E6C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cd4f;
/* rgb */ color: rgb(215, 205, 79);
/* oklch */ color: oklch(83.3% 0.145 104.8);
Tailwind
colors: {
  custom: {
    50: '#e6dc86',
    500: '#d7cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd4f;
$custom-light: #e6dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd4f",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 55.588,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8332,
    "c": 0.1452,
    "h": 104.8
  },
  "luminance": 0.58674
}

Semantic roles & 50–950 ramp

primary
#D7CD4F
secondary
#393F92
accent
#4EE642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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