#D7CB5C#D7CB5C

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

Color values

HEX#D7CB5C
RGBrgb(215, 203, 92)
HSLhsl(54, 61%, 60%)
HSVhsv(54, 57%, 84%)
CMYKcmyk(0%, 5.6%, 57.2%, 15.7%)
CIE-LABlab(80.70, -9.69, 55.75)
CIE-LCHlch(80.70, 56.59, 99.86°)
OKLaboklab(83.03% -0.0302 0.1292)
OKLCHoklch(83.03% 0.133 103.2)
XYZxyz(51.3138, 57.9335, 18.6024)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB5C #5C68D7
analogous
#D78D5C #D7CB5C #A6D75C
triadic
#D7CB5C #5CD7CB #CB5CD7
tetradic
#D7CB5C #5CD78D #5C68D7 #D75CA6
square
#D7CB5C #5CD78D #5C68D7 #D75CA6
split-complementary
#D7CB5C #5CA6D7 #8D5CD7
monochromatic
#948924 #C5B730 #D7CB5C #E3DB8D #EFEABE

Accessibility & contrast

On white

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

On black

12.59
#D7CB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB5C
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB5C#FFFFFF#000000##000000
##D7CB5C1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC550
Deuteranopia (green-blind)
#DFCB62
Tritanopia (blue-blind)
#E6BFB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb5c;
/* rgb */ color: rgb(215, 203, 92);
/* oklch */ color: oklch(83.0% 0.133 103.2);
Tailwind
colors: {
  custom: {
    50: '#e6da8e',
    500: '#d7cb5c',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb5c;
$custom-light: #e6da8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb5c",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 92
  },
  "hsl": {
    "h": 54.146,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8303,
    "c": 0.13264,
    "h": 103.2
  },
  "luminance": 0.57932
}

Semantic roles & 50–950 ramp

primary
#D7CB5C
secondary
#3E4799
accent
#2EC81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7CB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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