#D7CA80#D7CA80

#D7CA80 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.095 H 99.5°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D7CA80
RGBrgb(215, 202, 128)
HSLhsl(51, 52%, 67%)
HSVhsv(51, 40%, 84%)
CMYKcmyk(0%, 6%, 40.5%, 15.7%)
CIE-LABlab(80.88, -5.92, 38.55)
CIE-LCHlch(80.88, 39.00, 98.73°)
OKLaboklab(83.31% -0.0158 0.0941)
OKLCHoklch(83.31% 0.095 99.5)
XYZxyz(53.0422, 58.2482, 28.8668)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA80 #808DD7
analogous
#D79E80 #D7CA80 #B9D780
triadic
#D7CA80 #80D7CA #CA80D7
tetradic
#D7CA80 #80D79E #808DD7 #D780B9
square
#D7CA80 #80D79E #808DD7 #D780B9
split-complementary
#D7CA80 #80B9D7 #9E80D7
monochromatic
#A89735 #C8B751 #D7CA80 #E6DDAF #F4F1DD

Accessibility & contrast

On white

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

On black

12.65
#D7CA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA80
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA80#FFFFFF#000000##000000
##D7CA801.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67A
Deuteranopia (green-blind)
#DBCB83
Tritanopia (blue-blind)
#E3C0B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7ca80;
/* rgb */ color: rgb(215, 202, 128);
/* oklch */ color: oklch(83.3% 0.095 99.5);
Tailwind
colors: {
  custom: {
    50: '#e5daa6',
    500: '#d7ca80',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca80;
$custom-light: #e5daa6;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca80",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 128
  },
  "hsl": {
    "h": 51.034,
    "s": 52.096,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8331,
    "c": 0.09544,
    "h": 99.5
  },
  "luminance": 0.58247
}

Semantic roles & 50–950 ramp

primary
#D7CA80
secondary
#505DAB
accent
#3DC026
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #D7CA80

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

Preview Lab → · Contrast checker → · Palette generator →

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