#C8D17D#C8D17D

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

Color values

HEX#C8D17D
RGBrgb(200, 209, 125)
HSLhsl(66, 48%, 65%)
HSVhsv(66, 40%, 82%)
CMYKcmyk(4.3%, 0%, 40.2%, 18%)
CIE-LABlab(81.49, -15.72, 40.59)
CIE-LCHlch(81.49, 43.53, 111.17°)
OKLaboklab(83.49% -0.0435 0.0988)
OKLCHoklch(83.49% 0.108 113.8)
XYZxyz(50.3220, 59.3616, 28.2050)
Luminance0.5936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D17D #867DD1
analogous
#D1B07D #C8D17D #9ED17D
triadic
#C8D17D #7DC8D1 #D17DC8
tetradic
#C8D17D #7DD1B0 #867DD1 #D17D9E
square
#C8D17D #7DD1B0 #867DD1 #D17D9E
split-complementary
#C8D17D #7D9ED1 #B07DD1
monochromatic
#919C37 #B5C150 #C8D17D #DBE1AA #EEF1D7

Accessibility & contrast

On white

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

On black

12.87
#C8D17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D17D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D17D#FFFFFF#000000##000000
##C8D17D1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA77
Deuteranopia (green-blind)
#DCCB81
Tritanopia (blue-blind)
#D1C8BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d17d;
/* rgb */ color: rgb(200, 209, 125);
/* oklch */ color: oklch(83.5% 0.108 113.8);
Tailwind
colors: {
  custom: {
    50: '#dadfa4',
    500: '#c8d17d',
    950: '#000000',
  },
}
SCSS
$custom: #c8d17d;
$custom-light: #dadfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d17d",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 125
  },
  "hsl": {
    "h": 66.429,
    "s": 47.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83492,
    "c": 0.1079,
    "h": 113.8
  },
  "luminance": 0.59361
}

Semantic roles & 50–950 ramp

primary
#C8D17D
secondary
#5951A2
accent
#2BBB3A
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D17D

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

Preview Lab → · Contrast checker → · Palette generator →

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