#C8CD5F#C8CD5F

#C8CD5F is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.2% C 0.134 H 111.4°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#C8CD5F
RGBrgb(200, 205, 95)
HSLhsl(63, 52%, 59%)
HSVhsv(63, 54%, 80%)
CMYKcmyk(2.4%, 0%, 53.7%, 19.6%)
CIE-LABlab(80.05, -16.62, 53.32)
CIE-LCHlch(80.05, 55.85, 107.31°)
OKLaboklab(82.23% -0.0487 0.1246)
OKLCHoklch(82.23% 0.134 111.4)
XYZxyz(47.7174, 56.7692, 19.2681)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD5F #645FCD
analogous
#CD9B5F #C8CD5F #91CD5F
triadic
#C8CD5F #5FC8CD #CD5FC8
tetradic
#C8CD5F #5FCD9B #645FCD #CD5F91
square
#C8CD5F #5FCD9B #645FCD #CD5F91
split-complementary
#C8CD5F #5F91CD #9B5FCD
monochromatic
#83872A #B0B639 #C8CD5F #D8DC8E #E8EABC

Accessibility & contrast

On white

1.70
#C8CD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#C8CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD5F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD5F#FFFFFF#000000##000000
##C8CD5F1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC554
Deuteranopia (green-blind)
#DBC865
Tritanopia (blue-blind)
#D4C2B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cd5f;
/* rgb */ color: rgb(200, 205, 95);
/* oklch */ color: oklch(82.2% 0.134 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdc90',
    500: '#c8cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd5f;
$custom-light: #dbdc90;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd5f",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 62.727,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82225,
    "c": 0.13374,
    "h": 111.4
  },
  "luminance": 0.56768
}

Semantic roles & 50–950 ramp

primary
#C8CD5F
secondary
#45428E
accent
#4CDC53
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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