#D7CD58#D7CD58

#D7CD58 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.138 H 104.4°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D7CD58
RGBrgb(215, 205, 88)
HSLhsl(55, 61%, 59%)
HSVhsv(55, 59%, 84%)
CMYKcmyk(0%, 4.7%, 59.1%, 15.7%)
CIE-LABlab(81.19, -10.99, 58.08)
CIE-LCHlch(81.19, 59.11, 100.71°)
OKLaboklab(83.41% -0.0344 0.1336)
OKLCHoklch(83.41% 0.138 104.4)
XYZxyz(51.6189, 58.8161, 17.8642)
Luminance0.5881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD58 #5862D7
analogous
#D78E58 #D7CD58 #A1D758
triadic
#D7CD58 #58D7CD #CD58D7
tetradic
#D7CD58 #58D78E #5862D7 #D758A1
square
#D7CD58 #58D78E #5862D7 #D758A1
split-complementary
#D7CD58 #58A1D7 #8E58D7
monochromatic
#928923 #C3B72F #D7CD58 #E3DC89 #EFEBBB

Accessibility & contrast

On white

1.65
#D7CD58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#D7CD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD58
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD58#FFFFFF#000000##000000
##D7CD581.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64B
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#E6C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd58;
/* rgb */ color: rgb(215, 205, 88);
/* oklch */ color: oklch(83.4% 0.138 104.4);
Tailwind
colors: {
  custom: {
    50: '#e6dc8b',
    500: '#d7cd58',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd58;
$custom-light: #e6dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd58",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 55.276,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83406,
    "c": 0.13799,
    "h": 104.4
  },
  "luminance": 0.58814
}

Semantic roles & 50–950 ramp

primary
#D7CD58
secondary
#3C4397
accent
#50E443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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