#C8CA2D#C8CA2D

#C8CA2D is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.2% C 0.166 H 110.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#C8CA2D
RGBrgb(200, 202, 45)
HSLhsl(61, 64%, 48%)
HSVhsv(61, 78%, 79%)
CMYKcmyk(1%, 0%, 77.7%, 20.8%)
CIE-LABlab(78.87, -18.05, 71.43)
CIE-LCHlch(78.87, 73.67, 104.18°)
OKLaboklab(81.17% -0.0576 0.1554)
OKLCHoklch(81.17% 0.166 110.4)
XYZxyz(45.4153, 54.7112, 10.6501)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA2D #2F2DCA
analogous
#CA7D2D #C8CA2D #79CA2D
triadic
#C8CA2D #2DC8CA #CA2DC8
tetradic
#C8CA2D #2DCA7D #2F2DCA #CA2D79
square
#C8CA2D #2DCA7D #2F2DCA #CA2D79
split-complementary
#C8CA2D #2D79CA #7D2DCA
monochromatic
#656617 #969822 #C8CA2D #D9DA5A #E4E58C

Accessibility & contrast

On white

1.76
#C8CA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#C8CA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA2D
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA2D#FFFFFF#000000##000000
##C8CA2D1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#DCC53B
Tritanopia (blue-blind)
#D6BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8ca2d;
/* rgb */ color: rgb(200, 202, 45);
/* oklch */ color: oklch(81.2% 0.166 110.4);
Tailwind
colors: {
  custom: {
    50: '#ddd974',
    500: '#c8ca2d',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca2d;
$custom-light: #ddd974;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca2d",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 45
  },
  "hsl": {
    "h": 60.764,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.8117,
    "c": 0.16575,
    "h": 110.4
  },
  "luminance": 0.5471
}

Semantic roles & 50–950 ramp

primary
#C8CA2D
secondary
#2C2B70
accent
#41E743
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8CA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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