#D7C155#D7C155

#D7C155 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.130 H 97.9°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#D7C155
RGBrgb(215, 193, 85)
HSLhsl(50, 62%, 59%)
HSVhsv(50, 60%, 84%)
CMYKcmyk(0%, 10.2%, 60.5%, 15.7%)
CIE-LABlab(78.02, -5.06, 55.90)
CIE-LCHlch(78.02, 56.13, 95.17°)
OKLaboklab(80.88% -0.0177 0.1286)
OKLCHoklch(80.88% 0.13 97.9)
XYZxyz(48.7360, 53.2451, 16.3028)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C155 #556BD7
analogous
#D78055 #D7C155 #ACD755
triadic
#D7C155 #55D7C1 #C155D7
tetradic
#D7C155 #55D780 #556BD7 #D755AC
square
#D7C155 #55D780 #556BD7 #D755AC
split-complementary
#D7C155 #55ACD7 #8055D7
monochromatic
#907D22 #C1A82D #D7C155 #E3D387 #EEE5B8

Accessibility & contrast

On white

1.80
#D7C155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#D7C155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C155
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C155#FFFFFF#000000##000000
##D7C1551.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD49
Deuteranopia (green-blind)
#D8C45A
Tritanopia (blue-blind)
#E7B4AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c155;
/* rgb */ color: rgb(215, 193, 85);
/* oklch */ color: oklch(80.9% 0.130 97.9);
Tailwind
colors: {
  custom: {
    50: '#e6d389',
    500: '#d7c155',
    950: '#000000',
  },
}
SCSS
$custom: #d7c155;
$custom-light: #e6d389;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c155",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 49.846,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80881,
    "c": 0.12983,
    "h": 97.9
  },
  "luminance": 0.53243
}

Semantic roles & 50–950 ramp

primary
#D7C155
secondary
#3B4A95
accent
#5EE543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C155

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

Preview Lab → · Contrast checker → · Palette generator →

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