#D7CF56#D7CF56

#D7CF56 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.8% C 0.142 H 105.5°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D7CF56
RGBrgb(215, 207, 86)
HSLhsl(56, 62%, 59%)
HSVhsv(56, 60%, 84%)
CMYKcmyk(0%, 3.7%, 60%, 15.7%)
CIE-LABlab(81.70, -12.13, 59.51)
CIE-LCHlch(81.70, 60.74, 101.52°)
OKLaboklab(83.81% -0.0378 0.1364)
OKLCHoklch(83.81% 0.142 105.5)
XYZxyz(52.0186, 59.7463, 17.5944)
Luminance0.5975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF56 #565ED7
analogous
#D78F56 #D7CF56 #9FD756
triadic
#D7CF56 #56D7CF #CF56D7
tetradic
#D7CF56 #56D78F #565ED7 #D7569F
square
#D7CF56 #56D78F #565ED7 #D7569F
split-complementary
#D7CF56 #569FD7 #8F56D7
monochromatic
#908A22 #C2B92E #D7CF56 #E3DD87 #EEEBB9

Accessibility & contrast

On white

1.62
#D7CF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#D7CF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF56
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF56#FFFFFF#000000##000000
##D7CF561.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC848
Deuteranopia (green-blind)
#E3CE5D
Tritanopia (blue-blind)
#E6C2B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf56;
/* rgb */ color: rgb(215, 207, 86);
/* oklch */ color: oklch(83.8% 0.142 105.5);
Tailwind
colors: {
  custom: {
    50: '#e6dd8a',
    500: '#d7cf56',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf56;
$custom-light: #e6dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf56",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 56.279,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83806,
    "c": 0.14158,
    "h": 105.5
  },
  "luminance": 0.59745
}

Semantic roles & 50–950 ramp

primary
#D7CF56
secondary
#3B4196
accent
#4DE543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CF56

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

Preview Lab → · Contrast checker → · Palette generator →

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