#C8D96F#C8D96F

#C8D96F is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.0% C 0.133 H 116.8°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#C8D96F
RGBrgb(200, 217, 111)
HSLhsl(70, 58%, 64%)
HSVhsv(70, 49%, 85%)
CMYKcmyk(7.8%, 0%, 48.8%, 14.9%)
CIE-LABlab(83.47, -21.12, 49.87)
CIE-LCHlch(83.47, 54.15, 112.96°)
OKLaboklab(85.02% -0.0599 0.1185)
OKLCHoklch(85.02% 0.133 116.8)
XYZxyz(51.5021, 63.0533, 24.4932)
Luminance0.6305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D96F #806FD9
analogous
#D9B56F #C8D96F #93D96F
triadic
#C8D96F #6FC8D9 #D96FC8
tetradic
#C8D96F #6FD9B5 #806FD9 #D96F93
square
#C8D96F #6FD9B5 #806FD9 #D96F93
split-complementary
#C8D96F #6F93D9 #B56FD9
monochromatic
#8FA32B #B6CC3F #C8D96F #DAE69F #EDF3D0

Accessibility & contrast

On white

1.54
#C8D96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#C8D96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D96F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D96F#FFFFFF#000000##000000
##C8D96F1.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D066
Deuteranopia (green-blind)
#E4D175
Tritanopia (blue-blind)
#D2CFC1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d96f;
/* rgb */ color: rgb(200, 217, 111);
/* oklch */ color: oklch(85.0% 0.133 116.8);
Tailwind
colors: {
  custom: {
    50: '#dae49b',
    500: '#c8d96f',
    950: '#000000',
  },
}
SCSS
$custom: #c8d96f;
$custom-light: #dae49b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d96f",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 69.623,
    "s": 58.242,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85016,
    "c": 0.13282,
    "h": 116.8
  },
  "luminance": 0.63053
}

Semantic roles & 50–950 ramp

primary
#C8D96F
secondary
#5546A6
accent
#20C63A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D96F

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

Preview Lab → · Contrast checker → · Palette generator →

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