#C8D95F#C8D95F

#C8D95F is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.8% C 0.148 H 116.3°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#C8D95F
RGBrgb(200, 217, 95)
HSLhsl(68, 62%, 61%)
HSVhsv(68, 56%, 85%)
CMYKcmyk(7.8%, 0%, 56.2%, 14.9%)
CIE-LABlab(83.30, -22.52, 57.03)
CIE-LCHlch(83.30, 61.31, 111.55°)
OKLaboklab(84.82% -0.0654 0.1325)
OKLCHoklch(84.82% 0.148 116.3)
XYZxyz(50.6987, 62.7319, 20.2619)
Luminance0.6273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D95F #705FD9
analogous
#D9AD5F #C8D95F #8BD95F
triadic
#C8D95F #5FC8D9 #D95FC8
tetradic
#C8D95F #5FD9AD #705FD9 #D95F8B
square
#C8D95F #5FD9AD #705FD9 #D95F8B
split-complementary
#C8D95F #5F8BD9 #AD5FD9
monochromatic
#899924 #B5CB30 #C8D95F #D9E590 #EAF0C2

Accessibility & contrast

On white

1.55
#C8D95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#C8D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D95F
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D95F#FFFFFF#000000##000000
##C8D95F1.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF52
Deuteranopia (green-blind)
#E5D066
Tritanopia (blue-blind)
#D3CEBE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d95f;
/* rgb */ color: rgb(200, 217, 95);
/* oklch */ color: oklch(84.8% 0.148 116.3);
Tailwind
colors: {
  custom: {
    50: '#dbe490',
    500: '#c8d95f',
    950: '#000000',
  },
}
SCSS
$custom: #c8d95f;
$custom-light: #dbe490;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d95f",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 68.361,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84825,
    "c": 0.14778,
    "h": 116.3
  },
  "luminance": 0.62731
}

Semantic roles & 50–950 ramp

primary
#C8D95F
secondary
#4C3F9E
accent
#1CC934
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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