#C8CA51#C8CA51

#C8CA51 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.143 H 110.1°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C8CA51
RGBrgb(200, 202, 81)
HSLhsl(61, 53%, 55%)
HSVhsv(61, 60%, 79%)
CMYKcmyk(1%, 0%, 59.9%, 20.8%)
CIE-LABlab(79.11, -16.17, 58.49)
CIE-LCHlch(79.11, 60.69, 105.46°)
OKLaboklab(81.43% -0.0489 0.1339)
OKLCHoklch(81.43% 0.143 110.1)
XYZxyz(46.4265, 55.1157, 15.9758)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA51 #5351CA
analogous
#CA9051 #C8CA51 #8BCA51
triadic
#C8CA51 #51C8CA #CA51C8
tetradic
#C8CA51 #51CA90 #5351CA #CA518B
square
#C8CA51 #51CA90 #5351CA #CA518B
split-complementary
#C8CA51 #518BCA #9051CA
monochromatic
#7A7B25 #A8AA34 #C8CA51 #D7D880 #E6E7AF

Accessibility & contrast

On white

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

On black

12.02
#C8CA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA51
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA51#FFFFFF#000000##000000
##C8CA511.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#DAC658
Tritanopia (blue-blind)
#D5BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8ca51;
/* rgb */ color: rgb(200, 202, 81);
/* oklch */ color: oklch(81.4% 0.143 110.1);
Tailwind
colors: {
  custom: {
    50: '#dbd987',
    500: '#c8ca51',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca51;
$custom-light: #dbd987;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca51",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 60.992,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81431,
    "c": 0.1426,
    "h": 110.1
  },
  "luminance": 0.55115
}

Semantic roles & 50–950 ramp

primary
#C8CA51
secondary
#3D3C83
accent
#4BDD4E
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CA51

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

Preview Lab → · Contrast checker → · Palette generator →

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