#C8D174#C8D174

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

Color values

HEX#C8D174
RGBrgb(200, 209, 116)
HSLhsl(66, 50%, 64%)
HSVhsv(66, 44%, 82%)
CMYKcmyk(4.3%, 0%, 44.5%, 18%)
CIE-LABlab(81.37, -16.68, 44.90)
CIE-LCHlch(81.37, 47.90, 110.38°)
OKLaboklab(83.36% -0.0469 0.1079)
OKLCHoklch(83.36% 0.118 113.5)
XYZxyz(49.7729, 59.1420, 25.3131)
Luminance0.5914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D174 #7D74D1
analogous
#D1AB74 #C8D174 #99D174
triadic
#C8D174 #74C8D1 #D174C8
tetradic
#C8D174 #74D1AB #7D74D1 #D17499
square
#C8D174 #74D1AB #7D74D1 #D17499
split-complementary
#C8D174 #7499D1 #AB74D1
monochromatic
#8E9832 #B6C246 #C8D174 #DAE0A2 #ECEFD0

Accessibility & contrast

On white

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

On black

12.83
#C8D174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D174
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D174#FFFFFF#000000##000000
##C8D1741.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d174;
/* rgb */ color: rgb(200, 209, 116);
/* oklch */ color: oklch(83.4% 0.118 113.5);
Tailwind
colors: {
  custom: {
    50: '#dadf9e',
    500: '#c8d174',
    950: '#000000',
  },
}
SCSS
$custom: #c8d174;
$custom-light: #dadf9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d174",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 116
  },
  "hsl": {
    "h": 65.806,
    "s": 50.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83357,
    "c": 0.11767,
    "h": 113.5
  },
  "luminance": 0.59141
}

Semantic roles & 50–950 ramp

primary
#C8D174
secondary
#544C9E
accent
#28BE36
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D174

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

Preview Lab → · Contrast checker → · Palette generator →

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