#C8CA2A#C8CA2A

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

Color values

HEX#C8CA2A
RGBrgb(200, 202, 42)
HSLhsl(61, 66%, 48%)
HSVhsv(61, 79%, 79%)
CMYKcmyk(1%, 0%, 79.2%, 20.8%)
CIE-LABlab(78.86, -18.15, 72.26)
CIE-LCHlch(78.86, 74.50, 104.10°)
OKLaboklab(81.16% -0.0581 0.1567)
OKLCHoklch(81.16% 0.167 110.4)
XYZxyz(45.3596, 54.6889, 10.3567)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA2A #2C2ACA
analogous
#CA7C2A #C8CA2A #78CA2A
triadic
#C8CA2A #2AC8CA #CA2AC8
tetradic
#C8CA2A #2ACA7C #2C2ACA #CA2A78
square
#C8CA2A #2ACA7C #2C2ACA #CA2A78
split-complementary
#C8CA2A #2A78CA #7C2ACA
monochromatic
#646515 #96971F #C8CA2A #DADC55 #E5E688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CA2A#FFFFFF#000000##000000
##C8CA2A1.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)
#DBC100
Deuteranopia (green-blind)
#DCC539
Tritanopia (blue-blind)
#D6BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8ca2a;
/* rgb */ color: rgb(200, 202, 42);
/* oklch */ color: oklch(81.2% 0.167 110.4);
Tailwind
colors: {
  custom: {
    50: '#ddd973',
    500: '#c8ca2a',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca2a;
$custom-light: #ddd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca2a",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 60.75,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.81156,
    "c": 0.1671,
    "h": 110.4
  },
  "luminance": 0.54688
}

Semantic roles & 50–950 ramp

primary
#C8CA2A
secondary
#2A296F
accent
#3FE941
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8CA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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