#D7CD4A#D7CD4A

#D7CD4A is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.149 H 105.0°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D7CD4A
RGBrgb(215, 205, 74)
HSLhsl(56, 64%, 57%)
HSVhsv(56, 66%, 84%)
CMYKcmyk(0%, 4.7%, 65.6%, 15.7%)
CIE-LABlab(81.07, -11.88, 63.85)
CIE-LCHlch(81.07, 64.95, 100.54°)
OKLaboklab(83.28% -0.0384 0.1439)
OKLCHoklch(83.28% 0.149 105)
XYZxyz(51.0936, 58.6060, 15.0979)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD4A #4A54D7
analogous
#D7874A #D7CD4A #9BD74A
triadic
#D7CD4A #4AD7CD #CD4AD7
tetradic
#D7CD4A #4AD787 #4A54D7 #D74A9B
square
#D7CD4A #4AD787 #4A54D7 #D74A9B
split-complementary
#D7CD4A #4A9BD7 #874AD7
monochromatic
#88811E #BBB029 #D7CD4A #E2DB7C #EDE9AE

Accessibility & contrast

On white

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

On black

12.72
#D7CD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD4A
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD4A#FFFFFF#000000##000000
##D7CD4A1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC638
Deuteranopia (green-blind)
#E2CC52
Tritanopia (blue-blind)
#E6C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cd4a;
/* rgb */ color: rgb(215, 205, 74);
/* oklch */ color: oklch(83.3% 0.149 105.0);
Tailwind
colors: {
  custom: {
    50: '#e7dc83',
    500: '#d7cd4a',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd4a;
$custom-light: #e7dc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd4a",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 74
  },
  "hsl": {
    "h": 55.745,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83277,
    "c": 0.14891,
    "h": 105
  },
  "luminance": 0.58604
}

Semantic roles & 50–950 ramp

primary
#D7CD4A
secondary
#373D8F
accent
#4DE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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