#D0CA97#D0CA97

#D0CA97 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.1% C 0.068 H 102.1°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D0CA97
RGBrgb(208, 202, 151)
HSLhsl(54, 38%, 70%)
HSVhsv(54, 27%, 82%)
CMYKcmyk(0%, 2.9%, 27.4%, 18.4%)
CIE-LABlab(80.68, -5.89, 26.28)
CIE-LCHlch(80.68, 26.93, 102.63°)
OKLaboklab(83.13% -0.0142 0.0662)
OKLCHoklch(83.13% 0.068 102.1)
XYZxyz(52.7191, 57.8863, 37.6682)
Luminance0.5788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CA97 #979DD0
analogous
#D0AD97 #D0CA97 #B9D097
triadic
#D0CA97 #97D0CA #CA97D0
tetradic
#D0CA97 #97D0AD #979DD0 #D097B9
square
#D0CA97 #97D0AD #979DD0 #D097B9
split-complementary
#D0CA97 #97B9D0 #AD97D0
monochromatic
#A39A4A #BDB56D #D0CA97 #E3DFC1 #F5F4EA

Accessibility & contrast

On white

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

On black

12.58
#D0CA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CA97
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CA97#FFFFFF#000000##000000
##D0CA971.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C694
Deuteranopia (green-blind)
#D6CA99
Tritanopia (blue-blind)
#D9C3BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d0ca97;
/* rgb */ color: rgb(208, 202, 151);
/* oklch */ color: oklch(83.1% 0.068 102.1);
Tailwind
colors: {
  custom: {
    50: '#dfdab6',
    500: '#d0ca97',
    950: '#000000',
  },
}
SCSS
$custom: #d0ca97;
$custom-light: #dfdab6;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ca97",
  "rgb": {
    "r": 208,
    "g": 202,
    "b": 151
  },
  "hsl": {
    "h": 53.684,
    "s": 37.748,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83134,
    "c": 0.0677,
    "h": 102.1
  },
  "luminance": 0.57885
}

Semantic roles & 50–950 ramp

primary
#D0CA97
secondary
#666CA6
accent
#42B135
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D0CA97

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

Preview Lab → · Contrast checker → · Palette generator →

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