#D7CC4E#D7CC4E

#D7CC4E is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.145 H 104.3°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D7CC4E
RGBrgb(215, 204, 78)
HSLhsl(55, 63%, 57%)
HSVhsv(55, 64%, 84%)
CMYKcmyk(0%, 5.1%, 63.7%, 15.7%)
CIE-LABlab(80.84, -11.13, 61.98)
CIE-LCHlch(80.84, 62.97, 100.18°)
OKLaboklab(83.1% -0.0359 0.1405)
OKLCHoklch(83.1% 0.145 104.3)
XYZxyz(50.9943, 58.1847, 15.7509)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC4E #4E59D7
analogous
#D7874E #D7CC4E #9ED74E
triadic
#D7CC4E #4ED7CC #CC4ED7
tetradic
#D7CC4E #4ED787 #4E59D7 #D74E9E
square
#D7CC4E #4ED787 #4E59D7 #D74E9E
split-complementary
#D7CC4E #4E9ED7 #874ED7
monochromatic
#8B831F #BDB12B #D7CC4E #E2DA80 #EEE9B2

Accessibility & contrast

On white

1.66
#D7CC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#D7CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC4E
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC4E#FFFFFF#000000##000000
##D7CC4E1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53E
Deuteranopia (green-blind)
#E1CB55
Tritanopia (blue-blind)
#E6BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc4e;
/* rgb */ color: rgb(215, 204, 78);
/* oklch */ color: oklch(83.1% 0.145 104.3);
Tailwind
colors: {
  custom: {
    50: '#e6db85',
    500: '#d7cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc4e;
$custom-light: #e6db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc4e",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 55.182,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83101,
    "c": 0.14503,
    "h": 104.3
  },
  "luminance": 0.58183
}

Semantic roles & 50–950 ramp

primary
#D7CC4E
secondary
#383F91
accent
#4FE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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