#D0C670#D0C670

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

Color values

HEX#D0C670
RGBrgb(208, 198, 112)
HSLhsl(54, 51%, 63%)
HSVhsv(54, 46%, 82%)
CMYKcmyk(0%, 4.8%, 46.2%, 18.4%)
CIE-LABlab(79.02, -8.31, 44.12)
CIE-LCHlch(79.02, 44.90, 100.66°)
OKLaboklab(81.63% -0.0237 0.1058)
OKLCHoklch(81.63% 0.108 102.6)
XYZxyz(49.1323, 54.9694, 23.3481)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C670 #707AD0
analogous
#D09670 #D0C670 #AAD070
triadic
#D0C670 #70D0C6 #C670D0
tetradic
#D0C670 #70D096 #707AD0 #D070AA
square
#D0C670 #70D096 #707AD0 #D070AA
split-complementary
#D0C670 #70AAD0 #9670D0
monochromatic
#958A31 #C1B442 #D0C670 #DFD89E #EEEBCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0C670#FFFFFF#000000##000000
##D0C6701.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)
#D4C169
Deuteranopia (green-blind)
#D7C674
Tritanopia (blue-blind)
#DDBCB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c670;
/* rgb */ color: rgb(208, 198, 112);
/* oklch */ color: oklch(81.6% 0.108 102.6);
Tailwind
colors: {
  custom: {
    50: '#e0d79b',
    500: '#d0c670',
    950: '#000000',
  },
}
SCSS
$custom: #d0c670;
$custom-light: #e0d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c670",
  "rgb": {
    "r": 208,
    "g": 198,
    "b": 112
  },
  "hsl": {
    "h": 53.75,
    "s": 50.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81629,
    "c": 0.10845,
    "h": 102.6
  },
  "luminance": 0.54968
}

Semantic roles & 50–950 ramp

primary
#D0C670
secondary
#4A529A
accent
#37BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D0C670

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

Preview Lab → · Contrast checker → · Palette generator →

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