#C8CA3C#C8CA3C

#C8CA3C is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.3% C 0.158 H 110.3°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C8CA3C
RGBrgb(200, 202, 60)
HSLhsl(61, 57%, 51%)
HSVhsv(61, 70%, 79%)
CMYKcmyk(1%, 0%, 70.3%, 20.8%)
CIE-LABlab(78.95, -17.41, 66.64)
CIE-LCHlch(78.95, 68.88, 104.64°)
OKLaboklab(81.26% -0.0546 0.1479)
OKLCHoklch(81.26% 0.158 110.3)
XYZxyz(45.7571, 54.8479, 12.4505)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA3C #3E3CCA
analogous
#CA853C #C8CA3C #81CA3C
triadic
#C8CA3C #3CC8CA #CA3CC8
tetradic
#C8CA3C #3CCA85 #3E3CCA #CA3C81
square
#C8CA3C #3CCA85 #3E3CCA #CA3C81
split-complementary
#C8CA3C #3C81CA #853CCA
monochromatic
#6D6E1E #9C9E2B #C8CA3C #D6D76C #E3E49C

Accessibility & contrast

On white

1.75
#C8CA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#C8CA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA3C
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA3C#FFFFFF#000000##000000
##C8CA3C1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC123
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#D6BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8ca3c;
/* rgb */ color: rgb(200, 202, 60);
/* oklch */ color: oklch(81.3% 0.158 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcd97b',
    500: '#c8ca3c',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca3c;
$custom-light: #dcd97b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca3c",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 60
  },
  "hsl": {
    "h": 60.845,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81258,
    "c": 0.15765,
    "h": 110.3
  },
  "luminance": 0.54847
}

Semantic roles & 50–950 ramp

primary
#C8CA3C
secondary
#343377
accent
#47E149
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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