#D7CB68#D7CB68

#D7CB68 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.2% C 0.122 H 102.4°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D7CB68
RGBrgb(215, 203, 104)
HSLhsl(54, 58%, 63%)
HSVhsv(54, 52%, 84%)
CMYKcmyk(0%, 5.6%, 51.6%, 15.7%)
CIE-LABlab(80.83, -8.74, 50.32)
CIE-LCHlch(80.83, 51.08, 99.85°)
OKLaboklab(83.17% -0.0262 0.1187)
OKLCHoklch(83.17% 0.122 102.4)
XYZxyz(51.8805, 58.1602, 21.5872)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB68 #6874D7
analogous
#D79468 #D7CB68 #ABD768
triadic
#D7CB68 #68D7CB #CB68D7
tetradic
#D7CB68 #68D794 #6874D7 #D768AB
square
#D7CB68 #68D794 #6874D7 #D768AB
split-complementary
#D7CB68 #68ABD7 #9468D7
monochromatic
#9B8F29 #CABA38 #D7CB68 #E4DC98 #F1ECC9

Accessibility & contrast

On white

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

On black

12.63
#D7CB68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB68
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB68#FFFFFF#000000##000000
##D7CB681.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cb68;
/* rgb */ color: rgb(215, 203, 104);
/* oklch */ color: oklch(83.2% 0.122 102.4);
Tailwind
colors: {
  custom: {
    50: '#e5da96',
    500: '#d7cb68',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb68;
$custom-light: #e5da96;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb68",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 104
  },
  "hsl": {
    "h": 53.514,
    "s": 58.115,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83171,
    "c": 0.12156,
    "h": 102.4
  },
  "luminance": 0.58158
}

Semantic roles & 50–950 ramp

primary
#D7CB68
secondary
#434DA0
accent
#32C620
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CB68

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

Preview Lab → · Contrast checker → · Palette generator →

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