#C8DC5F#C8DC5F

#C8DC5F is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.5% C 0.151 H 117.3°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#C8DC5F
RGBrgb(200, 220, 95)
HSLhsl(70, 64%, 62%)
HSVhsv(70, 57%, 86%)
CMYKcmyk(9.1%, 0%, 56.8%, 13.7%)
CIE-LABlab(84.12, -23.97, 57.95)
CIE-LCHlch(84.12, 62.71, 112.48°)
OKLaboklab(85.48% -0.0695 0.1345)
OKLCHoklch(85.48% 0.151 117.3)
XYZxyz(51.4790, 64.2925, 20.5220)
Luminance0.6429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8DC5F #735FDC
analogous
#DCB25F #C8DC5F #8ADC5F
triadic
#C8DC5F #5FC8DC #DC5FC8
tetradic
#C8DC5F #5FDCB2 #735FDC #DC5F8A
square
#C8DC5F #5FDCB2 #735FDC #DC5F8A
split-complementary
#C8DC5F #5F8ADC #B25FDC
monochromatic
#8A9E23 #B6D02E #C8DC5F #D9E791 #EBF2C3

Accessibility & contrast

On white

1.52
#C8DC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#C8DC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8DC5F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8DC5F#FFFFFF#000000##000000
##C8DC5F1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D152
Deuteranopia (green-blind)
#E7D367
Tritanopia (blue-blind)
#D3D1C1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c8dc5f;
/* rgb */ color: rgb(200, 220, 95);
/* oklch */ color: oklch(85.5% 0.151 117.3);
Tailwind
colors: {
  custom: {
    50: '#dbe691',
    500: '#c8dc5f',
    950: '#000000',
  },
}
SCSS
$custom: #c8dc5f;
$custom-light: #dbe691;
$custom-dark: #000000;
JSON
{
  "hex": "#c8dc5f",
  "rgb": {
    "r": 200,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 69.6,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8548,
    "c": 0.15138,
    "h": 117.3
  },
  "luminance": 0.64292
}

Semantic roles & 50–950 ramp

primary
#C8DC5F
secondary
#4E3EA2
accent
#1ACC36
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C8DC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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