#D7CF52#D7CF52

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

Color values

HEX#D7CF52
RGBrgb(215, 207, 82)
HSLhsl(56, 62%, 58%)
HSVhsv(56, 62%, 84%)
CMYKcmyk(0%, 3.7%, 61.9%, 15.7%)
CIE-LABlab(81.67, -12.40, 61.18)
CIE-LCHlch(81.67, 62.43, 101.45°)
OKLaboklab(83.77% -0.039 0.1394)
OKLCHoklch(83.77% 0.145 105.6)
XYZxyz(51.8620, 59.6837, 16.7692)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF52 #525AD7
analogous
#D78C52 #D7CF52 #9CD752
triadic
#D7CF52 #52D7CF #CF52D7
tetradic
#D7CF52 #52D78C #525AD7 #D7529C
square
#D7CF52 #52D78C #525AD7 #D7529C
split-complementary
#D7CF52 #529CD7 #8C52D7
monochromatic
#8E8721 #C0B72C #D7CF52 #E2DD84 #EEEBB5

Accessibility & contrast

On white

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

On black

12.94
#D7CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF52
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF52#FFFFFF#000000##000000
##D7CF521.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cf52;
/* rgb */ color: rgb(215, 207, 82);
/* oklch */ color: oklch(83.8% 0.145 105.6);
Tailwind
colors: {
  custom: {
    50: '#e6dd88',
    500: '#d7cf52',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf52;
$custom-light: #e6dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf52",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 56.391,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83768,
    "c": 0.14478,
    "h": 105.6
  },
  "luminance": 0.59682
}

Semantic roles & 50–950 ramp

primary
#D7CF52
secondary
#3A3F93
accent
#4CE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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