#D7CF55#D7CF55

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

Color values

HEX#D7CF55
RGBrgb(215, 207, 85)
HSLhsl(56, 62%, 59%)
HSVhsv(56, 60%, 84%)
CMYKcmyk(0%, 3.7%, 60.5%, 15.7%)
CIE-LABlab(81.69, -12.20, 59.93)
CIE-LCHlch(81.69, 61.16, 101.51°)
OKLaboklab(83.8% -0.0382 0.1372)
OKLCHoklch(83.8% 0.142 105.5)
XYZxyz(51.9786, 59.7303, 17.3837)
Luminance0.5973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF55 #555DD7
analogous
#D78E55 #D7CF55 #9ED755
triadic
#D7CF55 #55D7CF #CF55D7
tetradic
#D7CF55 #55D78E #555DD7 #D7559E
square
#D7CF55 #55D78E #555DD7 #D7559E
split-complementary
#D7CF55 #559ED7 #8E55D7
monochromatic
#908922 #C1B82D #D7CF55 #E3DD87 #EEEBB8

Accessibility & contrast

On white

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

On black

12.95
#D7CF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF55
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF55#FFFFFF#000000##000000
##D7CF551.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cf55;
/* rgb */ color: rgb(215, 207, 85);
/* oklch */ color: oklch(83.8% 0.142 105.5);
Tailwind
colors: {
  custom: {
    50: '#e6dd8a',
    500: '#d7cf55',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf55;
$custom-light: #e6dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf55",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 56.308,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83796,
    "c": 0.1424,
    "h": 105.5
  },
  "luminance": 0.59729
}

Semantic roles & 50–950 ramp

primary
#D7CF55
secondary
#3B4195
accent
#4DE543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CF55

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

Preview Lab → · Contrast checker → · Palette generator →

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