#D7CD4B#D7CD4B

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

Color values

HEX#D7CD4B
RGBrgb(215, 205, 75)
HSLhsl(56, 64%, 57%)
HSVhsv(56, 65%, 84%)
CMYKcmyk(0%, 4.7%, 65.1%, 15.7%)
CIE-LABlab(81.08, -11.82, 63.46)
CIE-LCHlch(81.08, 64.55, 100.55°)
OKLaboklab(83.29% -0.0382 0.1432)
OKLCHoklch(83.29% 0.148 104.9)
XYZxyz(51.1276, 58.6196, 15.2768)
Luminance0.5862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD4B #4B55D7
analogous
#D7874B #D7CD4B #9BD74B
triadic
#D7CD4B #4BD7CD #CD4BD7
tetradic
#D7CD4B #4BD787 #4B55D7 #D74B9B
square
#D7CD4B #4BD787 #4B55D7 #D74B9B
split-complementary
#D7CD4B #4B9BD7 #874BD7
monochromatic
#89821E #BBB12A #D7CD4B #E2DB7D #EDE9AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CD4B#FFFFFF#000000##000000
##D7CD4B1.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)
#DEC63A
Deuteranopia (green-blind)
#E2CC53
Tritanopia (blue-blind)
#E6C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cd4b;
/* rgb */ color: rgb(215, 205, 75);
/* oklch */ color: oklch(83.3% 0.148 104.9);
Tailwind
colors: {
  custom: {
    50: '#e7dc84',
    500: '#d7cd4b',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd4b;
$custom-light: #e7dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd4b",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 55.714,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83285,
    "c": 0.14819,
    "h": 104.9
  },
  "luminance": 0.58618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7CD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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