#C8CD3F#C8CD3F

#C8CD3F is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.9% C 0.159 H 111.4°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#C8CD3F
RGBrgb(200, 205, 63)
HSLhsl(62, 59%, 53%)
HSVhsv(62, 69%, 80%)
CMYKcmyk(2.4%, 0%, 69.3%, 19.6%)
CIE-LABlab(79.79, -18.75, 66.37)
CIE-LCHlch(79.79, 68.97, 105.77°)
OKLaboklab(81.93% -0.058 0.1478)
OKLCHoklch(81.93% 0.159 111.4)
XYZxyz(46.5494, 56.3021, 13.1169)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD3F #443FCD
analogous
#CD8B3F #C8CD3F #81CD3F
triadic
#C8CD3F #3FC8CD #CD3FC8
tetradic
#C8CD3F #3FCD8B #443FCD #CD3F81
square
#C8CD3F #3FCD8B #443FCD #CD3F81
split-complementary
#C8CD3F #3F81CD #8B3FCD
monochromatic
#71741E #A0A42B #C8CD3F #D6DA70 #E4E6A0

Accessibility & contrast

On white

1.71
#C8CD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#C8CD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD3F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD3F#FFFFFF#000000##000000
##C8CD3F1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC427
Deuteranopia (green-blind)
#DDC849
Tritanopia (blue-blind)
#D6C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cd3f;
/* rgb */ color: rgb(200, 205, 63);
/* oklch */ color: oklch(81.9% 0.159 111.4);
Tailwind
colors: {
  custom: {
    50: '#dcdc7d',
    500: '#c8cd3f',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd3f;
$custom-light: #dcdc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd3f",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 62.113,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81929,
    "c": 0.15882,
    "h": 111.4
  },
  "luminance": 0.56301
}

Semantic roles & 50–950 ramp

primary
#C8CD3F
secondary
#36347C
accent
#46E24B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C8CD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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