#D7C055#D7C055

#D7C055 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.129 H 97.2°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#D7C055
RGBrgb(215, 192, 85)
HSLhsl(49, 62%, 59%)
HSVhsv(49, 60%, 84%)
CMYKcmyk(0%, 10.7%, 60.5%, 15.7%)
CIE-LABlab(77.76, -4.54, 55.61)
CIE-LCHlch(77.76, 55.80, 94.67°)
OKLaboklab(80.68% -0.0163 0.128)
OKLCHoklch(80.68% 0.129 97.2)
XYZxyz(48.5157, 52.8044, 16.2293)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C055 #556CD7
analogous
#D77F55 #D7C055 #ADD755
triadic
#D7C055 #55D7C0 #C055D7
tetradic
#D7C055 #55D77F #556CD7 #D755AD
square
#D7C055 #55D77F #556CD7 #D755AD
split-complementary
#D7C055 #55ADD7 #7F55D7
monochromatic
#907C22 #C1A72D #D7C055 #E3D287 #EEE5B8

Accessibility & contrast

On white

1.82
#D7C055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#D7C055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C055
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C055#FFFFFF#000000##000000
##D7C0551.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4A
Deuteranopia (green-blind)
#D7C45A
Tritanopia (blue-blind)
#E7B3A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7c055;
/* rgb */ color: rgb(215, 192, 85);
/* oklch */ color: oklch(80.7% 0.129 97.2);
Tailwind
colors: {
  custom: {
    50: '#e6d289',
    500: '#d7c055',
    950: '#000000',
  },
}
SCSS
$custom: #d7c055;
$custom-light: #e6d289;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c055",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 85
  },
  "hsl": {
    "h": 49.385,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80675,
    "c": 0.12902,
    "h": 97.2
  },
  "luminance": 0.52802
}

Semantic roles & 50–950 ramp

primary
#D7C055
secondary
#3B4B95
accent
#60E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C055

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

Preview Lab → · Contrast checker → · Palette generator →

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