#D0C66F#D0C66F

#D0C66F is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.109 H 102.7°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#D0C66F
RGBrgb(208, 198, 111)
HSLhsl(54, 51%, 63%)
HSVhsv(54, 47%, 82%)
CMYKcmyk(0%, 4.8%, 46.6%, 18.4%)
CIE-LABlab(79.01, -8.40, 44.60)
CIE-LCHlch(79.01, 45.39, 100.67°)
OKLaboklab(81.62% -0.0241 0.1068)
OKLCHoklch(81.62% 0.109 102.7)
XYZxyz(49.0770, 54.9473, 23.0565)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C66F #6F79D0
analogous
#D0956F #D0C66F #AAD06F
triadic
#D0C66F #6FD0C6 #C66FD0
tetradic
#D0C66F #6FD095 #6F79D0 #D06FAA
square
#D0C66F #6FD095 #6F79D0 #D06FAA
split-complementary
#D0C66F #6FAAD0 #956FD0
monochromatic
#948A30 #C1B441 #D0C66F #DFD89D #EEEBCB

Accessibility & contrast

On white

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

On black

11.99
#D0C66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C66F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C66F#FFFFFF#000000##000000
##D0C66F1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C168
Deuteranopia (green-blind)
#D7C673
Tritanopia (blue-blind)
#DDBBB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c66f;
/* rgb */ color: rgb(208, 198, 111);
/* oklch */ color: oklch(81.6% 0.109 102.7);
Tailwind
colors: {
  custom: {
    50: '#e0d79a',
    500: '#d0c66f',
    950: '#000000',
  },
}
SCSS
$custom: #d0c66f;
$custom-light: #e0d79a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c66f",
  "rgb": {
    "r": 208,
    "g": 198,
    "b": 111
  },
  "hsl": {
    "h": 53.814,
    "s": 50.785,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81615,
    "c": 0.10949,
    "h": 102.7
  },
  "luminance": 0.54946
}

Semantic roles & 50–950 ramp

primary
#D0C66F
secondary
#49529A
accent
#37BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D0C66F

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

Preview Lab → · Contrast checker → · Palette generator →

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