#D7CA94#D7CA94

#D7CA94 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.7% C 0.072 H 96.2°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D7CA94
RGBrgb(215, 202, 148)
HSLhsl(48, 46%, 71%)
HSVhsv(48, 31%, 84%)
CMYKcmyk(0%, 6%, 31.2%, 15.7%)
CIE-LABlab(81.20, -3.59, 28.65)
CIE-LCHlch(81.20, 28.88, 97.13°)
OKLaboklab(83.67% -0.0078 0.0718)
OKLCHoklch(83.67% 0.072 96.2)
XYZxyz(54.4907, 58.8276, 36.4957)
Luminance0.5883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA94 #94A1D7
analogous
#D7A894 #D7CA94 #C2D794
triadic
#D7CA94 #94D7CA #CA94D7
tetradic
#D7CA94 #94D7A8 #94A1D7 #D794C2
square
#D7CA94 #94D7A8 #94A1D7 #D794C2
split-complementary
#D7CA94 #94C2D7 #A894D7
monochromatic
#AF9A41 #C6B467 #D7CA94 #E8E0C1 #F7F4E9

Accessibility & contrast

On white

1.65
#D7CA94 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#D7CA94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA94
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA94#FFFFFF#000000##000000
##D7CA941.001.6512.7712.77
#FFFFFF1.651.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C790
Deuteranopia (green-blind)
#D9CC96
Tritanopia (blue-blind)
#E1C2BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7ca94;
/* rgb */ color: rgb(215, 202, 148);
/* oklch */ color: oklch(83.7% 0.072 96.2);
Tailwind
colors: {
  custom: {
    50: '#e4dab3',
    500: '#d7ca94',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca94;
$custom-light: #e4dab3;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca94",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 148
  },
  "hsl": {
    "h": 48.358,
    "s": 45.578,
    "l": 71.176
  },
  "oklch": {
    "l": 0.83668,
    "c": 0.0722,
    "h": 96.2
  },
  "luminance": 0.58826
}

Semantic roles & 50–950 ramp

primary
#D7CA94
secondary
#6270AE
accent
#48B92D
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#161411
muted
#848381

Preview Lab

Preview with #D7CA94

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

Preview Lab → · Contrast checker → · Palette generator →

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