#C8D17A#C8D17A

#C8D17A is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.4% C 0.111 H 113.7°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#C8D17A
RGBrgb(200, 209, 122)
HSLhsl(66, 49%, 65%)
HSVhsv(66, 42%, 82%)
CMYKcmyk(4.3%, 0%, 41.6%, 18%)
CIE-LABlab(81.45, -16.05, 42.04)
CIE-LCHlch(81.45, 45.00, 110.90°)
OKLaboklab(83.45% -0.0446 0.1019)
OKLCHoklch(83.45% 0.111 113.7)
XYZxyz(50.1333, 59.2861, 27.2109)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D17A #837AD1
analogous
#D1AF7A #C8D17A #9DD17A
triadic
#C8D17A #7AC8D1 #D17AC8
tetradic
#C8D17A #7AD1AF #837AD1 #D17A9D
square
#C8D17A #7AD1AF #837AD1 #D17A9D
split-complementary
#C8D17A #7A9DD1 #AF7AD1
monochromatic
#919B36 #B5C14D #C8D17A #DBE1A7 #EEF0D5

Accessibility & contrast

On white

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

On black

12.86
#C8D17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D17A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D17A#FFFFFF#000000##000000
##C8D17A1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC973
Deuteranopia (green-blind)
#DCCB7E
Tritanopia (blue-blind)
#D2C8BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d17a;
/* rgb */ color: rgb(200, 209, 122);
/* oklch */ color: oklch(83.4% 0.111 113.7);
Tailwind
colors: {
  custom: {
    50: '#dadfa2',
    500: '#c8d17a',
    950: '#000000',
  },
}
SCSS
$custom: #c8d17a;
$custom-light: #dadfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d17a",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 122
  },
  "hsl": {
    "h": 66.207,
    "s": 48.603,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83446,
    "c": 0.11121,
    "h": 113.7
  },
  "luminance": 0.59285
}

Semantic roles & 50–950 ramp

primary
#C8D17A
secondary
#574FA0
accent
#2ABC39
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D17A

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

Preview Lab → · Contrast checker → · Palette generator →

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