#D7CF6B#D7CF6B

#D7CF6B is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.0% C 0.123 H 104.6°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#D7CF6B
RGBrgb(215, 207, 107)
HSLhsl(56, 57%, 63%)
HSVhsv(56, 50%, 84%)
CMYKcmyk(0%, 3.7%, 50.2%, 15.7%)
CIE-LABlab(81.91, -10.51, 50.18)
CIE-LCHlch(81.91, 51.27, 101.83°)
OKLaboklab(84.04% -0.0309 0.1187)
OKLCHoklch(84.04% 0.123 104.6)
XYZxyz(52.9924, 60.1359, 22.7230)
Luminance0.6013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF6B #6B73D7
analogous
#D7996B #D7CF6B #A9D76B
triadic
#D7CF6B #6BD7CF #CF6BD7
tetradic
#D7CF6B #6BD799 #6B73D7 #D76BA9
square
#D7CF6B #6BD799 #6B73D7 #D76BA9
split-complementary
#D7CF6B #6BA9D7 #996BD7
monochromatic
#9D952A #CABF3B #D7CF6B #E4DF9B #F1EECB

Accessibility & contrast

On white

1.61
#D7CF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#D7CF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF6B
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF6B#FFFFFF#000000##000000
##D7CF6B1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC962
Deuteranopia (green-blind)
#E1CE70
Tritanopia (blue-blind)
#E4C4B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7cf6b;
/* rgb */ color: rgb(215, 207, 107);
/* oklch */ color: oklch(84.0% 0.123 104.6);
Tailwind
colors: {
  custom: {
    50: '#e5dd98',
    500: '#d7cf6b',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf6b;
$custom-light: #e5dd98;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf6b",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 107
  },
  "hsl": {
    "h": 55.556,
    "s": 57.447,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84043,
    "c": 0.12264,
    "h": 104.6
  },
  "luminance": 0.60134
}

Semantic roles & 50–950 ramp

primary
#D7CF6B
secondary
#454CA1
accent
#2DC520
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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