#D7CB55#D7CB55

#D7CB55 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.139 H 103.5°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D7CB55
RGBrgb(215, 203, 85)
HSLhsl(54, 62%, 59%)
HSVhsv(54, 60%, 84%)
CMYKcmyk(0%, 5.6%, 60.5%, 15.7%)
CIE-LABlab(80.64, -10.18, 58.78)
CIE-LCHlch(80.64, 59.66, 99.82°)
OKLaboklab(82.96% -0.0324 0.1347)
OKLCHoklch(82.96% 0.139 103.5)
XYZxyz(51.0218, 57.8167, 17.0647)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB55 #5561D7
analogous
#D78A55 #D7CB55 #A2D755
triadic
#D7CB55 #55D7CB #CB55D7
tetradic
#D7CB55 #55D78A #5561D7 #D755A2
square
#D7CB55 #55D78A #5561D7 #D755A2
split-complementary
#D7CB55 #55A2D7 #8A55D7
monochromatic
#908622 #C1B42D #D7CB55 #E3DA87 #EEE9B8

Accessibility & contrast

On white

1.67
#D7CB55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#D7CB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB55
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB55#FFFFFF#000000##000000
##D7CB551.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC548
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#E6BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb55;
/* rgb */ color: rgb(215, 203, 85);
/* oklch */ color: oklch(83.0% 0.139 103.5);
Tailwind
colors: {
  custom: {
    50: '#e6da89',
    500: '#d7cb55',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb55;
$custom-light: #e6da89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb55",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 85
  },
  "hsl": {
    "h": 54.462,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82957,
    "c": 0.13858,
    "h": 103.5
  },
  "luminance": 0.57815
}

Semantic roles & 50–950 ramp

primary
#D7CB55
secondary
#3B4395
accent
#52E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CB55

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

Preview Lab → · Contrast checker → · Palette generator →

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