#D7CA7A#D7CA7A

#D7CA7A is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.102 H 100.2°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D7CA7A
RGBrgb(215, 202, 122)
HSLhsl(52, 54%, 66%)
HSVhsv(52, 43%, 84%)
CMYKcmyk(0%, 6%, 43.3%, 15.7%)
CIE-LABlab(80.79, -6.55, 41.47)
CIE-LCHlch(80.79, 41.98, 98.97°)
OKLaboklab(83.21% -0.0181 0.1004)
OKLCHoklch(83.21% 0.102 100.2)
XYZxyz(52.6589, 58.0949, 26.8481)
Luminance0.5809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA7A #7A87D7
analogous
#D79B7A #D7CA7A #B5D77A
triadic
#D7CA7A #7AD7CA #CA7AD7
tetradic
#D7CA7A #7AD79B #7A87D7 #D77AB5
square
#D7CA7A #7AD79B #7A87D7 #D77AB5
split-complementary
#D7CA7A #7AB5D7 #9B7AD7
monochromatic
#A59532 #C9B74B #D7CA7A #E5DDA9 #F3EFD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CA7A#FFFFFF#000000##000000
##D7CA7A1.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)
#D8C574
Deuteranopia (green-blind)
#DCCB7D
Tritanopia (blue-blind)
#E4C0B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7ca7a;
/* rgb */ color: rgb(215, 202, 122);
/* oklch */ color: oklch(83.2% 0.102 100.2);
Tailwind
colors: {
  custom: {
    50: '#e5daa2',
    500: '#d7ca7a',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca7a;
$custom-light: #e5daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca7a",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 122
  },
  "hsl": {
    "h": 51.613,
    "s": 53.757,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83215,
    "c": 0.10205,
    "h": 100.2
  },
  "luminance": 0.58093
}

Semantic roles & 50–950 ramp

primary
#D7CA7A
secondary
#4C59A9
accent
#3AC124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D7CA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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