#C8CA31#C8CA31

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

Color values

HEX#C8CA31
RGBrgb(200, 202, 49)
HSLhsl(61, 61%, 49%)
HSVhsv(61, 76%, 79%)
CMYKcmyk(1%, 0%, 75.7%, 20.8%)
CIE-LABlab(78.89, -17.90, 70.25)
CIE-LCHlch(78.89, 72.49, 104.29°)
OKLaboklab(81.19% -0.0569 0.1536)
OKLCHoklch(81.19% 0.164 110.3)
XYZxyz(45.4960, 54.7435, 11.0751)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA31 #3331CA
analogous
#CA8031 #C8CA31 #7CCA31
triadic
#C8CA31 #31C8CA #CA31C8
tetradic
#C8CA31 #31CA80 #3331CA #CA317C
square
#C8CA31 #31CA80 #3331CA #CA317C
split-complementary
#C8CA31 #317CCA #8031CA
monochromatic
#666719 #979925 #C8CA31 #D7D860 #E3E491

Accessibility & contrast

On white

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

On black

11.95
#C8CA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA31
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA31#FFFFFF#000000##000000
##C8CA311.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ca31;
/* rgb */ color: rgb(200, 202, 49);
/* oklch */ color: oklch(81.2% 0.164 110.3);
Tailwind
colors: {
  custom: {
    50: '#ddd976',
    500: '#c8ca31',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca31;
$custom-light: #ddd976;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca31",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 60.784,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81191,
    "c": 0.16381,
    "h": 110.3
  },
  "luminance": 0.54742
}

Semantic roles & 50–950 ramp

primary
#C8CA31
secondary
#2F2E72
accent
#44E446
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8CA31

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

Preview Lab → · Contrast checker → · Palette generator →

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