#D7CF62#D7CF62

#D7CF62 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.9% C 0.131 H 105.0°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D7CF62
RGBrgb(215, 207, 98)
HSLhsl(56, 59%, 61%)
HSVhsv(56, 54%, 84%)
CMYKcmyk(0%, 3.7%, 54.4%, 15.7%)
CIE-LABlab(81.81, -11.26, 54.28)
CIE-LCHlch(81.81, 55.44, 101.71°)
OKLaboklab(83.93% -0.034 0.1267)
OKLCHoklch(83.93% 0.131 105)
XYZxyz(52.5433, 59.9562, 20.3578)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF62 #626AD7
analogous
#D79562 #D7CF62 #A5D762
triadic
#D7CF62 #62D7CF #CF62D7
tetradic
#D7CF62 #62D795 #626AD7 #D762A5
square
#D7CF62 #62D795 #626AD7 #D762A5
split-complementary
#D7CF62 #62A5D7 #9562D7
monochromatic
#989027 #C9BE33 #D7CF62 #E3DE93 #F0EDC4

Accessibility & contrast

On white

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

On black

12.99
#D7CF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF62
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF62#FFFFFF#000000##000000
##D7CF621.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC857
Deuteranopia (green-blind)
#E2CE68
Tritanopia (blue-blind)
#E5C3B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf62;
/* rgb */ color: rgb(215, 207, 98);
/* oklch */ color: oklch(83.9% 0.131 105.0);
Tailwind
colors: {
  custom: {
    50: '#e6dd92',
    500: '#d7cf62',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf62;
$custom-light: #e6dd92;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf62",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 98
  },
  "hsl": {
    "h": 55.897,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83933,
    "c": 0.13117,
    "h": 105
  },
  "luminance": 0.59955
}

Semantic roles & 50–950 ramp

primary
#D7CF62
secondary
#41479D
accent
#2AC71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7CF62

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

Preview Lab → · Contrast checker → · Palette generator →

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