#C8D173#C8D173

#C8D173 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.3% C 0.119 H 113.5°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#C8D173
RGBrgb(200, 209, 115)
HSLhsl(66, 51%, 64%)
HSVhsv(66, 45%, 82%)
CMYKcmyk(4.3%, 0%, 45%, 18%)
CIE-LABlab(81.36, -16.78, 45.37)
CIE-LCHlch(81.36, 48.38, 110.30°)
OKLaboklab(83.34% -0.0473 0.1089)
OKLCHoklch(83.34% 0.119 113.5)
XYZxyz(49.7151, 59.1188, 25.0085)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D173 #7C73D1
analogous
#D1AB73 #C8D173 #99D173
triadic
#C8D173 #73C8D1 #D173C8
tetradic
#C8D173 #73D1AB #7C73D1 #D17399
square
#C8D173 #73D1AB #7C73D1 #D17399
split-complementary
#C8D173 #7399D1 #AB73D1
monochromatic
#8E9832 #B6C245 #C8D173 #DAE0A1 #ECEFCF

Accessibility & contrast

On white

1.64
#C8D173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#C8D173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D173
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D173#FFFFFF#000000##000000
##C8D1731.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96B
Deuteranopia (green-blind)
#DDCB78
Tritanopia (blue-blind)
#D2C7BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d173;
/* rgb */ color: rgb(200, 209, 115);
/* oklch */ color: oklch(83.3% 0.119 113.5);
Tailwind
colors: {
  custom: {
    50: '#dadf9d',
    500: '#c8d173',
    950: '#000000',
  },
}
SCSS
$custom: #c8d173;
$custom-light: #dadf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d173",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 115
  },
  "hsl": {
    "h": 65.745,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83343,
    "c": 0.11872,
    "h": 113.5
  },
  "luminance": 0.59118
}

Semantic roles & 50–950 ramp

primary
#C8D173
secondary
#534B9D
accent
#28BE36
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D173

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

Preview Lab → · Contrast checker → · Palette generator →

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