#D2CA77#D2CA77

#D2CA77 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.105 H 103.6°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#D2CA77
RGBrgb(210, 202, 119)
HSLhsl(55, 50%, 65%)
HSVhsv(55, 43%, 82%)
CMYKcmyk(0%, 3.8%, 43.3%, 17.6%)
CIE-LABlab(80.33, -8.86, 42.31)
CIE-LCHlch(80.33, 43.22, 101.82°)
OKLaboklab(82.74% -0.0248 0.1022)
OKLCHoklch(82.74% 0.105 103.6)
XYZxyz(51.0297, 57.2760, 25.8165)
Luminance0.5727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA77 #777FD2
analogous
#D29D77 #D2CA77 #ADD277
triadic
#D2CA77 #77D2CA #CA77D2
tetradic
#D2CA77 #77D29D #777FD2 #D277AD
square
#D2CA77 #77D29D #777FD2 #D277AD
split-complementary
#D2CA77 #77ADD2 #9D77D2
monochromatic
#9B9233 #C3B849 #D2CA77 #E1DCA5 #F0EED3

Accessibility & contrast

On white

1.69
#D2CA77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#D2CA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA77
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA77#FFFFFF#000000##000000
##D2CA771.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C570
Deuteranopia (green-blind)
#DAC97B
Tritanopia (blue-blind)
#DEC0B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca77;
/* rgb */ color: rgb(210, 202, 119);
/* oklch */ color: oklch(82.7% 0.105 103.6);
Tailwind
colors: {
  custom: {
    50: '#e1da9f',
    500: '#d2ca77',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca77;
$custom-light: #e1da9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca77",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 119
  },
  "hsl": {
    "h": 54.725,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82739,
    "c": 0.10516,
    "h": 103.6
  },
  "luminance": 0.57275
}

Semantic roles & 50–950 ramp

primary
#D2CA77
secondary
#4D54A0
accent
#35BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2CA77

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

Preview Lab → · Contrast checker → · Palette generator →

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