#C8D17F#C8D17F

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

Color values

HEX#C8D17F
RGBrgb(200, 209, 127)
HSLhsl(67, 47%, 66%)
HSVhsv(67, 39%, 82%)
CMYKcmyk(4.3%, 0%, 39.2%, 18%)
CIE-LABlab(81.52, -15.50, 39.63)
CIE-LCHlch(81.52, 42.55, 111.36°)
OKLaboklab(83.52% -0.0427 0.0967)
OKLCHoklch(83.52% 0.106 113.8)
XYZxyz(50.4511, 59.4132, 28.8847)
Luminance0.5941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D17F #887FD1
analogous
#D1B17F #C8D17F #9FD17F
triadic
#C8D17F #7FC8D1 #D17FC8
tetradic
#C8D17F #7FD1B1 #887FD1 #D17F9F
square
#C8D17F #7FD1B1 #887FD1 #D17F9F
split-complementary
#C8D17F #7F9FD1 #B17FD1
monochromatic
#929D38 #B5C152 #C8D17F #DBE1AC #EFF1D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D17F#FFFFFF#000000##000000
##C8D17F1.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)
#DCCA79
Deuteranopia (green-blind)
#DCCC83
Tritanopia (blue-blind)
#D1C8BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c8d17f;
/* rgb */ color: rgb(200, 209, 127);
/* oklch */ color: oklch(83.5% 0.106 113.8);
Tailwind
colors: {
  custom: {
    50: '#dadfa5',
    500: '#c8d17f',
    950: '#000000',
  },
}
SCSS
$custom: #c8d17f;
$custom-light: #dadfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d17f",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 127
  },
  "hsl": {
    "h": 66.585,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83524,
    "c": 0.10566,
    "h": 113.8
  },
  "luminance": 0.59413
}

Semantic roles & 50–950 ramp

primary
#C8D17F
secondary
#5B52A2
accent
#2BBA3B
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D17F

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

Preview Lab → · Contrast checker → · Palette generator →

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