#D2CA79#D2CA79

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

Color values

HEX#D2CA79
RGBrgb(210, 202, 121)
HSLhsl(55, 50%, 65%)
HSVhsv(55, 42%, 82%)
CMYKcmyk(0%, 3.8%, 42.4%, 17.6%)
CIE-LABlab(80.36, -8.65, 41.34)
CIE-LCHlch(80.36, 42.24, 101.82°)
OKLaboklab(82.77% -0.024 0.1001)
OKLCHoklch(82.77% 0.103 103.5)
XYZxyz(51.1511, 57.3246, 26.4557)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA79 #7981D2
analogous
#D29E79 #D2CA79 #ADD279
triadic
#D2CA79 #79D2CA #CA79D2
tetradic
#D2CA79 #79D29E #7981D2 #D279AD
square
#D2CA79 #79D29E #7981D2 #D279AD
split-complementary
#D2CA79 #79ADD2 #9E79D2
monochromatic
#9C9334 #C3B84B #D2CA79 #E1DCA7 #F1EED5

Accessibility & contrast

On white

1.68
#D2CA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CA79#FFFFFF#000000##000000
##D2CA791.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ca79;
/* rgb */ color: rgb(210, 202, 121);
/* oklch */ color: oklch(82.8% 0.103 103.5);
Tailwind
colors: {
  custom: {
    50: '#e1daa1',
    500: '#d2ca79',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca79;
$custom-light: #e1daa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca79",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 121
  },
  "hsl": {
    "h": 54.607,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82769,
    "c": 0.10297,
    "h": 103.5
  },
  "luminance": 0.57323
}

Semantic roles & 50–950 ramp

primary
#D2CA79
secondary
#4E55A1
accent
#36BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2CA79

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

Preview Lab → · Contrast checker → · Palette generator →

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