#D7C655#D7C655

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

Color values

HEX#D7C655
RGBrgb(215, 198, 85)
HSLhsl(52, 62%, 59%)
HSVhsv(52, 60%, 84%)
CMYKcmyk(0%, 7.9%, 60.5%, 15.7%)
CIE-LABlab(79.32, -7.63, 57.34)
CIE-LCHlch(79.32, 57.85, 97.58°)
OKLaboklab(81.92% -0.0251 0.1317)
OKLCHoklch(81.92% 0.134 100.8)
XYZxyz(49.8600, 55.4931, 16.6775)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C655 #5566D7
analogous
#D78555 #D7C655 #A7D755
triadic
#D7C655 #55D7C6 #C655D7
tetradic
#D7C655 #55D785 #5566D7 #D755A7
square
#D7C655 #55D785 #5566D7 #D755A7
split-complementary
#D7C655 #55A7D7 #8555D7
monochromatic
#908122 #C1AE2D #D7C655 #E3D787 #EEE7B8

Accessibility & contrast

On white

1.74
#D7C655 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#D7C655 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C655
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C655#FFFFFF#000000##000000
##D7C6551.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C149
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#E6B9AE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c655;
/* rgb */ color: rgb(215, 198, 85);
/* oklch */ color: oklch(81.9% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#e6d789',
    500: '#d7c655',
    950: '#000000',
  },
}
SCSS
$custom: #d7c655;
$custom-light: #e6d789;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c655",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 85
  },
  "hsl": {
    "h": 52.154,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81915,
    "c": 0.13405,
    "h": 100.8
  },
  "luminance": 0.55491
}

Semantic roles & 50–950 ramp

primary
#D7C655
secondary
#3B4795
accent
#58E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C655

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

Preview Lab → · Contrast checker → · Palette generator →

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