#D7C658#D7C658

#D7C658 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.132 H 100.6°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#D7C658
RGBrgb(215, 198, 88)
HSLhsl(52, 61%, 59%)
HSVhsv(52, 59%, 84%)
CMYKcmyk(0%, 7.9%, 59.1%, 15.7%)
CIE-LABlab(79.35, -7.42, 56.04)
CIE-LCHlch(79.35, 56.53, 97.55°)
OKLaboklab(81.95% -0.0242 0.1293)
OKLCHoklch(81.95% 0.132 100.6)
XYZxyz(49.9817, 55.5418, 17.3185)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C658 #5869D7
analogous
#D78758 #D7C658 #A8D758
triadic
#D7C658 #58D7C6 #C658D7
tetradic
#D7C658 #58D787 #5869D7 #D758A8
square
#D7C658 #58D787 #5869D7 #D758A8
split-complementary
#D7C658 #58A8D7 #8758D7
monochromatic
#928323 #C3AF2F #D7C658 #E3D789 #EFE8BB

Accessibility & contrast

On white

1.73
#D7C658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#D7C658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C658
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C658#FFFFFF#000000##000000
##D7C6581.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14C
Deuteranopia (green-blind)
#DCC85E
Tritanopia (blue-blind)
#E6B9AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c658;
/* rgb */ color: rgb(215, 198, 88);
/* oklch */ color: oklch(81.9% 0.132 100.6);
Tailwind
colors: {
  custom: {
    50: '#e6d78b',
    500: '#d7c658',
    950: '#000000',
  },
}
SCSS
$custom: #d7c658;
$custom-light: #e6d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c658",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 51.969,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81946,
    "c": 0.13152,
    "h": 100.6
  },
  "luminance": 0.5554
}

Semantic roles & 50–950 ramp

primary
#D7C658
secondary
#3C4897
accent
#59E443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C658

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

Preview Lab → · Contrast checker → · Palette generator →

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