#D7CF4D#D7CF4D

#D7CF4D is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.7% C 0.149 H 105.8°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D7CF4D
RGBrgb(215, 207, 77)
HSLhsl(57, 63%, 57%)
HSVhsv(57, 64%, 84%)
CMYKcmyk(0%, 3.7%, 64.2%, 15.7%)
CIE-LABlab(81.63, -12.71, 63.21)
CIE-LCHlch(81.63, 64.48, 101.37°)
OKLaboklab(83.72% -0.0404 0.143)
OKLCHoklch(83.72% 0.149 105.8)
XYZxyz(51.6786, 59.6103, 15.8035)
Luminance0.5961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF4D #4D55D7
analogous
#D78A4D #D7CF4D #9AD74D
triadic
#D7CF4D #4DD7CF #CF4DD7
tetradic
#D7CF4D #4DD78A #4D55D7 #D74D9A
square
#D7CF4D #4DD78A #4D55D7 #D74D9A
split-complementary
#D7CF4D #4D9AD7 #8A4DD7
monochromatic
#8A841F #BCB42A #D7CF4D #E2DC7F #EDEAB1

Accessibility & contrast

On white

1.63
#D7CF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#D7CF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF4D
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF4D#FFFFFF#000000##000000
##D7CF4D1.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83C
Deuteranopia (green-blind)
#E3CD55
Tritanopia (blue-blind)
#E6C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf4d;
/* rgb */ color: rgb(215, 207, 77);
/* oklch */ color: oklch(83.7% 0.149 105.8);
Tailwind
colors: {
  custom: {
    50: '#e7dd85',
    500: '#d7cf4d',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf4d;
$custom-light: #e7dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf4d",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 56.522,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83723,
    "c": 0.1486,
    "h": 105.8
  },
  "luminance": 0.59609
}

Semantic roles & 50–950 ramp

primary
#D7CF4D
secondary
#383D90
accent
#4BE641
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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