#D6CA78#D6CA78

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

Color values

HEX#D6CA78
RGBrgb(214, 202, 120)
HSLhsl(52, 53%, 65%)
HSVhsv(52, 44%, 84%)
CMYKcmyk(0%, 5.6%, 43.9%, 16.1%)
CIE-LABlab(80.68, -7.15, 42.31)
CIE-LCHlch(80.68, 42.91, 99.59°)
OKLaboklab(83.1% -0.0199 0.1022)
OKLCHoklch(83.1% 0.104 101)
XYZxyz(52.2435, 57.8949, 26.1885)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA78 #7884D6
analogous
#D69B78 #D6CA78 #B3D678
triadic
#D6CA78 #78D6CA #CA78D6
tetradic
#D6CA78 #78D69B #7884D6 #D678B3
square
#D6CA78 #78D69B #7884D6 #D678B3
split-complementary
#D6CA78 #78B3D6 #9B78D6
monochromatic
#A29431 #C8B849 #D6CA78 #E4DCA7 #F3EFD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6CA78#FFFFFF#000000##000000
##D6CA781.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)
#D8C571
Deuteranopia (green-blind)
#DCCB7B
Tritanopia (blue-blind)
#E3C0B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d6ca78;
/* rgb */ color: rgb(214, 202, 120);
/* oklch */ color: oklch(83.1% 0.104 101.0);
Tailwind
colors: {
  custom: {
    50: '#e4daa0',
    500: '#d6ca78',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca78;
$custom-light: #e4daa0;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca78",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 120
  },
  "hsl": {
    "h": 52.34,
    "s": 53.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83098,
    "c": 0.10415,
    "h": 101
  },
  "luminance": 0.57893
}

Semantic roles & 50–950 ramp

primary
#D6CA78
secondary
#4C57A6
accent
#39C125
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D6CA78

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

Preview Lab → · Contrast checker → · Palette generator →

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