#C8CD40#C8CD40

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

Color values

HEX#C8CD40
RGBrgb(200, 205, 64)
HSLhsl(62, 59%, 53%)
HSVhsv(62, 69%, 80%)
CMYKcmyk(2.4%, 0%, 68.8%, 19.6%)
CIE-LABlab(79.79, -18.70, 66.01)
CIE-LCHlch(79.79, 68.61, 105.81°)
OKLaboklab(81.94% -0.0578 0.1472)
OKLCHoklch(81.94% 0.158 111.4)
XYZxyz(46.5776, 56.3133, 13.2655)
Luminance0.5631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD40 #4540CD
analogous
#CD8C40 #C8CD40 #81CD40
triadic
#C8CD40 #40C8CD #CD40C8
tetradic
#C8CD40 #40CD8C #4540CD #CD4081
square
#C8CD40 #40CD8C #4540CD #CD4081
split-complementary
#C8CD40 #4081CD #8C40CD
monochromatic
#71741E #A0A52B #C8CD40 #D6DA71 #E4E6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CD40#FFFFFF#000000##000000
##C8CD401.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)
#DDC429
Deuteranopia (green-blind)
#DDC84A
Tritanopia (blue-blind)
#D6C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cd40;
/* rgb */ color: rgb(200, 205, 64);
/* oklch */ color: oklch(81.9% 0.158 111.4);
Tailwind
colors: {
  custom: {
    50: '#dcdc7d',
    500: '#c8cd40',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd40;
$custom-light: #dcdc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd40",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 62.128,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81936,
    "c": 0.15817,
    "h": 111.4
  },
  "luminance": 0.56312
}

Semantic roles & 50–950 ramp

primary
#C8CD40
secondary
#37347D
accent
#46E24C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C8CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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