#D7C855#D7C855

#D7C855 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.136 H 101.9°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D7C855
RGBrgb(215, 200, 85)
HSLhsl(53, 62%, 59%)
HSVhsv(53, 60%, 84%)
CMYKcmyk(0%, 7%, 60.5%, 15.7%)
CIE-LABlab(79.85, -8.65, 57.92)
CIE-LCHlch(79.85, 58.56, 98.50°)
OKLaboklab(82.33% -0.028 0.1329)
OKLCHoklch(82.33% 0.136 101.9)
XYZxyz(50.3202, 56.4135, 16.8308)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C855 #5564D7
analogous
#D78755 #D7C855 #A5D755
triadic
#D7C855 #55D7C8 #C855D7
tetradic
#D7C855 #55D787 #5564D7 #D755A5
square
#D7C855 #55D787 #5564D7 #D755A5
split-complementary
#D7C855 #55A5D7 #8755D7
monochromatic
#908322 #C1B02D #D7C855 #E3D887 #EEE8B8

Accessibility & contrast

On white

1.71
#D7C855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#D7C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C855
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C855#FFFFFF#000000##000000
##D7C8551.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C248
Deuteranopia (green-blind)
#DDC95B
Tritanopia (blue-blind)
#E6BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c855;
/* rgb */ color: rgb(215, 200, 85);
/* oklch */ color: oklch(82.3% 0.136 101.9);
Tailwind
colors: {
  custom: {
    50: '#e6d889',
    500: '#d7c855',
    950: '#000000',
  },
}
SCSS
$custom: #d7c855;
$custom-light: #e6d889;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c855",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 53.077,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82331,
    "c": 0.13584,
    "h": 101.9
  },
  "luminance": 0.56412
}

Semantic roles & 50–950 ramp

primary
#D7C855
secondary
#3B4595
accent
#56E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C855

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

Preview Lab → · Contrast checker → · Palette generator →

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