#C8D17E#C8D17E

#C8D17E is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.5% C 0.107 H 113.8°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#C8D17E
RGBrgb(200, 209, 126)
HSLhsl(67, 47%, 66%)
HSVhsv(67, 40%, 82%)
CMYKcmyk(4.3%, 0%, 39.7%, 18%)
CIE-LABlab(81.50, -15.61, 40.11)
CIE-LCHlch(81.50, 43.04, 111.27°)
OKLaboklab(83.51% -0.0431 0.0977)
OKLCHoklch(83.51% 0.107 113.8)
XYZxyz(50.3862, 59.3873, 28.5432)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D17E #877ED1
analogous
#D1B07E #C8D17E #9ED17E
triadic
#C8D17E #7EC8D1 #D17EC8
tetradic
#C8D17E #7ED1B0 #877ED1 #D17E9E
square
#C8D17E #7ED1B0 #877ED1 #D17E9E
split-complementary
#C8D17E #7E9ED1 #B07ED1
monochromatic
#929D38 #B5C151 #C8D17E #DBE1AB #EEF1D8

Accessibility & contrast

On white

1.63
#C8D17E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#C8D17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D17E
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D17E#FFFFFF#000000##000000
##C8D17E1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA78
Deuteranopia (green-blind)
#DCCB82
Tritanopia (blue-blind)
#D1C8BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d17e;
/* rgb */ color: rgb(200, 209, 126);
/* oklch */ color: oklch(83.5% 0.107 113.8);
Tailwind
colors: {
  custom: {
    50: '#dadfa4',
    500: '#c8d17e',
    950: '#000000',
  },
}
SCSS
$custom: #c8d17e;
$custom-light: #dadfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d17e",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 126
  },
  "hsl": {
    "h": 66.506,
    "s": 47.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83508,
    "c": 0.10679,
    "h": 113.8
  },
  "luminance": 0.59387
}

Semantic roles & 50–950 ramp

primary
#C8D17E
secondary
#5A51A2
accent
#2BBB3A
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D17E

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

Preview Lab → · Contrast checker → · Palette generator →

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