#D7CF72#D7CF72

#D7CF72 is a very light, moderate yellow. Relative luminance 0.603; OKLCH L 84.1% C 0.116 H 104.2°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#D7CF72
RGBrgb(215, 207, 114)
HSLhsl(55, 56%, 65%)
HSVhsv(55, 47%, 84%)
CMYKcmyk(0%, 3.7%, 47%, 15.7%)
CIE-LABlab(82.00, -9.88, 46.91)
CIE-LCHlch(82.00, 47.94, 101.89°)
OKLaboklab(84.14% -0.0284 0.1121)
OKLCHoklch(84.14% 0.116 104.2)
XYZxyz(53.3757, 60.2892, 24.7416)
Luminance0.6029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF72 #727AD7
analogous
#D79D72 #D7CF72 #ACD772
triadic
#D7CF72 #72D7CF #CF72D7
tetradic
#D7CF72 #72D79D #727AD7 #D772AC
square
#D7CF72 #72D79D #727AD7 #D772AC
split-complementary
#D7CF72 #72ACD7 #9D72D7
monochromatic
#A1982E #C9BF42 #D7CF72 #E5DFA2 #F2EFD1

Accessibility & contrast

On white

1.61
#D7CF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#D7CF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF72
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF72#FFFFFF#000000##000000
##D7CF721.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96A
Deuteranopia (green-blind)
#E0CE76
Tritanopia (blue-blind)
#E4C4B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7cf72;
/* rgb */ color: rgb(215, 207, 114);
/* oklch */ color: oklch(84.1% 0.116 104.2);
Tailwind
colors: {
  custom: {
    50: '#e5dd9c',
    500: '#d7cf72',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf72;
$custom-light: #e5dd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf72",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 114
  },
  "hsl": {
    "h": 55.248,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84136,
    "c": 0.11561,
    "h": 104.2
  },
  "luminance": 0.60288
}

Semantic roles & 50–950 ramp

primary
#D7CF72
secondary
#4850A5
accent
#2FC322
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CF72

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

Preview Lab → · Contrast checker → · Palette generator →

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