#D7CB65#D7CB65

#D7CB65 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.124 H 102.6°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D7CB65
RGBrgb(215, 203, 101)
HSLhsl(54, 59%, 62%)
HSVhsv(54, 53%, 84%)
CMYKcmyk(0%, 5.6%, 53%, 15.7%)
CIE-LABlab(80.79, -8.99, 51.70)
CIE-LCHlch(80.79, 52.48, 99.86°)
OKLaboklab(83.13% -0.0272 0.1214)
OKLCHoklch(83.13% 0.124 102.6)
XYZxyz(51.7308, 58.1003, 20.7989)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB65 #6571D7
analogous
#D79265 #D7CB65 #AAD765
triadic
#D7CB65 #65D7CB #CB65D7
tetradic
#D7CB65 #65D792 #6571D7 #D765AA
square
#D7CB65 #65D792 #6571D7 #D765AA
split-complementary
#D7CB65 #65AAD7 #9265D7
monochromatic
#9A8E28 #CABB35 #D7CB65 #E4DB96 #F0ECC6

Accessibility & contrast

On white

1.66
#D7CB65 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D7CB65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB65
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB65#FFFFFF#000000##000000
##D7CB651.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC55B
Deuteranopia (green-blind)
#DECB6A
Tritanopia (blue-blind)
#E5BFB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cb65;
/* rgb */ color: rgb(215, 203, 101);
/* oklch */ color: oklch(83.1% 0.124 102.6);
Tailwind
colors: {
  custom: {
    50: '#e6da94',
    500: '#d7cb65',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb65;
$custom-light: #e6da94;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb65",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 101
  },
  "hsl": {
    "h": 53.684,
    "s": 58.763,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83133,
    "c": 0.12443,
    "h": 102.6
  },
  "luminance": 0.58099
}

Semantic roles & 50–950 ramp

primary
#D7CB65
secondary
#424C9E
accent
#31C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CB65

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

Preview Lab → · Contrast checker → · Palette generator →

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