#D7CB66#D7CB66

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

Color values

HEX#D7CB66
RGBrgb(215, 203, 102)
HSLhsl(54, 59%, 62%)
HSVhsv(54, 53%, 84%)
CMYKcmyk(0%, 5.6%, 52.6%, 15.7%)
CIE-LABlab(80.81, -8.90, 51.25)
CIE-LCHlch(80.81, 52.01, 99.86°)
OKLaboklab(83.15% -0.0269 0.1205)
OKLCHoklch(83.15% 0.123 102.6)
XYZxyz(51.7801, 58.1200, 21.0585)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB66 #6672D7
analogous
#D79266 #D7CB66 #ABD766
triadic
#D7CB66 #66D7CB #CB66D7
tetradic
#D7CB66 #66D792 #6672D7 #D766AB
square
#D7CB66 #66D792 #6672D7 #D766AB
split-complementary
#D7CB66 #66ABD7 #9266D7
monochromatic
#9A8E28 #CABB35 #D7CB66 #E4DB97 #F0ECC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CB66#FFFFFF#000000##000000
##D7CB661.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)
#DBC55D
Deuteranopia (green-blind)
#DECB6B
Tritanopia (blue-blind)
#E5BFB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cb66;
/* rgb */ color: rgb(215, 203, 102);
/* oklch */ color: oklch(83.1% 0.123 102.6);
Tailwind
colors: {
  custom: {
    50: '#e6da94',
    500: '#d7cb66',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb66;
$custom-light: #e6da94;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb66",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 102
  },
  "hsl": {
    "h": 53.628,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83146,
    "c": 0.12348,
    "h": 102.6
  },
  "luminance": 0.58118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7CB66

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

Preview Lab → · Contrast checker → · Palette generator →

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