#D7CA6B#D7CA6B

#D7CA6B is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.118 H 101.6°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D7CA6B
RGBrgb(215, 202, 107)
HSLhsl(53, 57%, 63%)
HSVhsv(53, 50%, 84%)
CMYKcmyk(0%, 6%, 50.2%, 15.7%)
CIE-LABlab(80.60, -7.97, 48.62)
CIE-LCHlch(80.60, 49.27, 99.31°)
OKLaboklab(83% -0.0236 0.1153)
OKLCHoklch(83% 0.118 101.6)
XYZxyz(51.8002, 57.7514, 22.3256)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA6B #6B78D7
analogous
#D7946B #D7CA6B #AED76B
triadic
#D7CA6B #6BD7CA #CA6BD7
tetradic
#D7CA6B #6BD794 #6B78D7 #D76BAE
square
#D7CA6B #6BD794 #6B78D7 #D76BAE
split-complementary
#D7CA6B #6BAED7 #946BD7
monochromatic
#9D8F2A #CAB93B #D7CA6B #E4DB9B #F1EDCB

Accessibility & contrast

On white

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

On black

12.55
#D7CA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA6B
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA6B#FFFFFF#000000##000000
##D7CA6B1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C563
Deuteranopia (green-blind)
#DDCB6F
Tritanopia (blue-blind)
#E5BFB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7ca6b;
/* rgb */ color: rgb(215, 202, 107);
/* oklch */ color: oklch(83.0% 0.118 101.6);
Tailwind
colors: {
  custom: {
    50: '#e5d997',
    500: '#d7ca6b',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca6b;
$custom-light: #e5d997;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca6b",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 107
  },
  "hsl": {
    "h": 52.778,
    "s": 57.447,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83001,
    "c": 0.11765,
    "h": 101.6
  },
  "luminance": 0.5775
}

Semantic roles & 50–950 ramp

primary
#D7CA6B
secondary
#4550A1
accent
#34C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7CA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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