#D6C474#D6C474

#D6C474 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.8% C 0.103 H 97.0°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#D6C474
RGBrgb(214, 196, 116)
HSLhsl(49, 54%, 65%)
HSVhsv(49, 46%, 84%)
CMYKcmyk(0%, 8.4%, 45.8%, 16.1%)
CIE-LABlab(79.06, -4.45, 42.30)
CIE-LCHlch(79.06, 42.53, 96.01°)
OKLaboklab(81.8% -0.0125 0.1019)
OKLCHoklch(81.8% 0.103 97)
XYZxyz(50.6253, 55.0388, 24.4764)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C474 #7486D6
analogous
#D69374 #D6C474 #B7D674
triadic
#D6C474 #74D6C4 #C474D6
tetradic
#D6C474 #74D693 #7486D6 #D674B7
square
#D6C474 #74D693 #7486D6 #D674B7
split-complementary
#D6C474 #74B7D6 #9374D6
monochromatic
#A08C2F #C8B045 #D6C474 #E4D8A3 #F2ECD3

Accessibility & contrast

On white

1.75
#D6C474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#D6C474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C474
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C474#FFFFFF#000000##000000
##D6C4741.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06E
Deuteranopia (green-blind)
#D7C677
Tritanopia (blue-blind)
#E3B9B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d6c474;
/* rgb */ color: rgb(214, 196, 116);
/* oklch */ color: oklch(81.8% 0.103 97.0);
Tailwind
colors: {
  custom: {
    50: '#e4d59d',
    500: '#d6c474',
    950: '#000000',
  },
}
SCSS
$custom: #d6c474;
$custom-light: #e4d59d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c474",
  "rgb": {
    "r": 214,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 48.98,
    "s": 54.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.818,
    "c": 0.10271,
    "h": 97
  },
  "luminance": 0.55037
}

Semantic roles & 50–950 ramp

primary
#D6C474
secondary
#4A5AA4
accent
#41C224
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D6C474

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

Preview Lab → · Contrast checker → · Palette generator →

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