#D7CD4E#D7CD4E

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

Color values

HEX#D7CD4E
RGBrgb(215, 205, 78)
HSLhsl(56, 63%, 57%)
HSVhsv(56, 64%, 84%)
CMYKcmyk(0%, 4.7%, 63.7%, 15.7%)
CIE-LABlab(81.11, -11.64, 62.26)
CIE-LCHlch(81.11, 63.34, 100.59°)
OKLaboklab(83.31% -0.0373 0.1411)
OKLCHoklch(83.31% 0.146 104.8)
XYZxyz(51.2327, 58.6616, 15.8304)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD4E #4E58D7
analogous
#D7884E #D7CD4E #9DD74E
triadic
#D7CD4E #4ED7CD #CD4ED7
tetradic
#D7CD4E #4ED788 #4E58D7 #D74E9D
square
#D7CD4E #4ED788 #4E58D7 #D74E9D
split-complementary
#D7CD4E #4E9DD7 #884ED7
monochromatic
#8B831F #BDB22B #D7CD4E #E2DB80 #EEE9B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CD4E#FFFFFF#000000##000000
##D7CD4E1.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)
#DEC63E
Deuteranopia (green-blind)
#E2CC56
Tritanopia (blue-blind)
#E6C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cd4e;
/* rgb */ color: rgb(215, 205, 78);
/* oklch */ color: oklch(83.3% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e6dc85',
    500: '#d7cd4e',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd4e;
$custom-light: #e6dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd4e",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 78
  },
  "hsl": {
    "h": 55.62,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83311,
    "c": 0.14596,
    "h": 104.8
  },
  "luminance": 0.5866
}

Semantic roles & 50–950 ramp

primary
#D7CD4E
secondary
#383F91
accent
#4EE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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