#D7CB5A#D7CB5A

#D7CB5A is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.134 H 103.3°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D7CB5A
RGBrgb(215, 203, 90)
HSLhsl(54, 61%, 60%)
HSVhsv(54, 58%, 84%)
CMYKcmyk(0%, 5.6%, 58.1%, 15.7%)
CIE-LABlab(80.68, -9.83, 56.63)
CIE-LCHlch(80.68, 57.48, 99.85°)
OKLaboklab(83.01% -0.0308 0.1308)
OKLCHoklch(83.01% 0.134 103.3)
XYZxyz(51.2275, 57.8990, 18.1481)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB5A #5A66D7
analogous
#D78D5A #D7CB5A #A5D75A
triadic
#D7CB5A #5AD7CB #CB5AD7
tetradic
#D7CB5A #5AD78D #5A66D7 #D75AA5
square
#D7CB5A #5AD78D #5A66D7 #D75AA5
split-complementary
#D7CB5A #5AA5D7 #8D5AD7
monochromatic
#938824 #C4B630 #D7CB5A #E3DB8B #EFEABD

Accessibility & contrast

On white

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

On black

12.58
#D7CB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB5A
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB5A#FFFFFF#000000##000000
##D7CB5A1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cb5a;
/* rgb */ color: rgb(215, 203, 90);
/* oklch */ color: oklch(83.0% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#e6da8d',
    500: '#d7cb5a',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb5a;
$custom-light: #e6da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb5a",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 54.24,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83008,
    "c": 0.13438,
    "h": 103.3
  },
  "luminance": 0.57897
}

Semantic roles & 50–950 ramp

primary
#D7CB5A
secondary
#3D4698
accent
#53E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7CB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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