#D7CF58#D7CF58

#D7CF58 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.140 H 105.4°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D7CF58
RGBrgb(215, 207, 88)
HSLhsl(56, 61%, 59%)
HSVhsv(56, 59%, 84%)
CMYKcmyk(0%, 3.7%, 59.1%, 15.7%)
CIE-LABlab(81.72, -12.00, 58.66)
CIE-LCHlch(81.72, 59.88, 101.56°)
OKLaboklab(83.83% -0.0372 0.1349)
OKLCHoklch(83.83% 0.14 105.4)
XYZxyz(52.1003, 59.7790, 18.0247)
Luminance0.5978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF58 #5860D7
analogous
#D78F58 #D7CF58 #A0D758
triadic
#D7CF58 #58D7CF #CF58D7
tetradic
#D7CF58 #58D78F #5860D7 #D758A0
square
#D7CF58 #58D78F #5860D7 #D758A0
split-complementary
#D7CF58 #58A0D7 #8F58D7
monochromatic
#928B23 #C3BA2F #D7CF58 #E3DD89 #EFEBBB

Accessibility & contrast

On white

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

On black

12.96
#D7CF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF58
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF58#FFFFFF#000000##000000
##D7CF581.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cf58;
/* rgb */ color: rgb(215, 207, 88);
/* oklch */ color: oklch(83.8% 0.140 105.4);
Tailwind
colors: {
  custom: {
    50: '#e6dd8c',
    500: '#d7cf58',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf58;
$custom-light: #e6dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf58",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 56.22,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83826,
    "c": 0.13993,
    "h": 105.4
  },
  "luminance": 0.59777
}

Semantic roles & 50–950 ramp

primary
#D7CF58
secondary
#3C4297
accent
#4DE443
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CF58

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

Preview Lab → · Contrast checker → · Palette generator →

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