#D7CF59#D7CF59

#D7CF59 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.139 H 105.4°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D7CF59
RGBrgb(215, 207, 89)
HSLhsl(56, 61%, 60%)
HSVhsv(56, 59%, 84%)
CMYKcmyk(0%, 3.7%, 58.6%, 15.7%)
CIE-LABlab(81.73, -11.93, 58.23)
CIE-LCHlch(81.73, 59.44, 101.57°)
OKLaboklab(83.84% -0.0369 0.1341)
OKLCHoklch(83.84% 0.139 105.4)
XYZxyz(52.1420, 59.7957, 18.2443)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF59 #5961D7
analogous
#D79059 #D7CF59 #A0D759
triadic
#D7CF59 #59D7CF #CF59D7
tetradic
#D7CF59 #59D790 #5961D7 #D759A0
square
#D7CF59 #59D790 #5961D7 #D759A0
split-complementary
#D7CF59 #59A0D7 #9059D7
monochromatic
#928B23 #C4BA2F #D7CF59 #E3DD8A #EFECBC

Accessibility & contrast

On white

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

On black

12.96
#D7CF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF59
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF59#FFFFFF#000000##000000
##D7CF591.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84C
Deuteranopia (green-blind)
#E2CE5F
Tritanopia (blue-blind)
#E6C2B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf59;
/* rgb */ color: rgb(215, 207, 89);
/* oklch */ color: oklch(83.8% 0.139 105.4);
Tailwind
colors: {
  custom: {
    50: '#e6dd8c',
    500: '#d7cf59',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf59;
$custom-light: #e6dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf59",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 56.19,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83836,
    "c": 0.13909,
    "h": 105.4
  },
  "luminance": 0.59794
}

Semantic roles & 50–950 ramp

primary
#D7CF59
secondary
#3D4298
accent
#4EE444
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CF59

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

Preview Lab → · Contrast checker → · Palette generator →

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