#D7CB4C#D7CB4C

#D7CB4C is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.146 H 103.9°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D7CB4C
RGBrgb(215, 203, 76)
HSLhsl(55, 63%, 57%)
HSVhsv(55, 65%, 84%)
CMYKcmyk(0%, 5.6%, 64.7%, 15.7%)
CIE-LABlab(80.56, -10.75, 62.51)
CIE-LCHlch(80.56, 63.43, 99.76°)
OKLaboklab(82.87% -0.035 0.1413)
OKLCHoklch(82.87% 0.146 103.9)
XYZxyz(50.6867, 57.6827, 15.3000)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB4C #4C58D7
analogous
#D7864C #D7CB4C #9ED74C
triadic
#D7CB4C #4CD7CB #CB4CD7
tetradic
#D7CB4C #4CD786 #4C58D7 #D74C9E
square
#D7CB4C #4CD786 #4C58D7 #D74C9E
split-complementary
#D7CB4C #4C9ED7 #864CD7
monochromatic
#8A811F #BCAF2A #D7CB4C #E2DA7E #EDE8B0

Accessibility & contrast

On white

1.68
#D7CB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#D7CB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB4C
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB4C#FFFFFF#000000##000000
##D7CB4C1.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43C
Deuteranopia (green-blind)
#E0CB54
Tritanopia (blue-blind)
#E6BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb4c;
/* rgb */ color: rgb(215, 203, 76);
/* oklch */ color: oklch(82.9% 0.146 103.9);
Tailwind
colors: {
  custom: {
    50: '#e7da84',
    500: '#d7cb4c',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb4c;
$custom-light: #e7da84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb4c",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 76
  },
  "hsl": {
    "h": 54.82,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82874,
    "c": 0.14561,
    "h": 103.9
  },
  "luminance": 0.57681
}

Semantic roles & 50–950 ramp

primary
#D7CB4C
secondary
#373F90
accent
#50E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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