#C8CA5B#C8CA5B

#C8CA5B is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.5% C 0.134 H 110.0°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C8CA5B
RGBrgb(200, 202, 91)
HSLhsl(61, 51%, 57%)
HSVhsv(61, 55%, 79%)
CMYKcmyk(1%, 0%, 55%, 20.8%)
CIE-LABlab(79.20, -15.44, 54.17)
CIE-LCHlch(79.20, 56.33, 105.91°)
OKLaboklab(81.54% -0.0458 0.126)
OKLCHoklch(81.54% 0.134 110)
XYZxyz(46.8295, 55.2769, 18.0981)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA5B #5D5BCA
analogous
#CA945B #C8CA5B #91CA5B
triadic
#C8CA5B #5BC8CA #CA5BC8
tetradic
#C8CA5B #5BCA94 #5D5BCA #CA5B91
square
#C8CA5B #5BCA94 #5D5BCA #CA5B91
split-complementary
#C8CA5B #5B91CA #945BCA
monochromatic
#7F812A #ADAF39 #C8CA5B #D8D989 #E7E8B8

Accessibility & contrast

On white

1.74
#C8CA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#C8CA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA5B
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA5B#FFFFFF#000000##000000
##C8CA5B1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C250
Deuteranopia (green-blind)
#D9C661
Tritanopia (blue-blind)
#D4BFB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8ca5b;
/* rgb */ color: rgb(200, 202, 91);
/* oklch */ color: oklch(81.5% 0.134 110.0);
Tailwind
colors: {
  custom: {
    50: '#dbda8d',
    500: '#c8ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca5b;
$custom-light: #dbda8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca5b",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 61.081,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81535,
    "c": 0.13403,
    "h": 110
  },
  "luminance": 0.55276
}

Semantic roles & 50–950 ramp

primary
#C8CA5B
secondary
#424189
accent
#4DDB50
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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