#D0C66E#D0C66E

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

Color values

HEX#D0C66E
RGBrgb(208, 198, 110)
HSLhsl(54, 51%, 62%)
HSVhsv(54, 47%, 82%)
CMYKcmyk(0%, 4.8%, 47.1%, 18.4%)
CIE-LABlab(79.00, -8.50, 45.08)
CIE-LCHlch(79.00, 45.87, 100.67°)
OKLaboklab(81.6% -0.0245 0.1078)
OKLCHoklch(81.6% 0.111 102.8)
XYZxyz(49.0222, 54.9254, 22.7682)
Luminance0.5492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C66E #6E78D0
analogous
#D0956E #D0C66E #A9D06E
triadic
#D0C66E #6ED0C6 #C66ED0
tetradic
#D0C66E #6ED095 #6E78D0 #D06EA9
square
#D0C66E #6ED095 #6E78D0 #D06EA9
split-complementary
#D0C66E #6EA9D0 #956ED0
monochromatic
#948A30 #C1B440 #D0C66E #DFD89C #EEEACA

Accessibility & contrast

On white

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

On black

11.98
#D0C66E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C66E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C66E#FFFFFF#000000##000000
##D0C66E1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0c66e;
/* rgb */ color: rgb(208, 198, 110);
/* oklch */ color: oklch(81.6% 0.111 102.8);
Tailwind
colors: {
  custom: {
    50: '#e0d799',
    500: '#d0c66e',
    950: '#000000',
  },
}
SCSS
$custom: #d0c66e;
$custom-light: #e0d799;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c66e",
  "rgb": {
    "r": 208,
    "g": 198,
    "b": 110
  },
  "hsl": {
    "h": 53.878,
    "s": 51.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81601,
    "c": 0.11054,
    "h": 102.8
  },
  "luminance": 0.54924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0C66E

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

Preview Lab → · Contrast checker → · Palette generator →

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