#C8CA56#C8CA56

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

Color values

HEX#C8CA56
RGBrgb(200, 202, 86)
HSLhsl(61, 52%, 56%)
HSVhsv(61, 57%, 79%)
CMYKcmyk(1%, 0%, 57.4%, 20.8%)
CIE-LABlab(79.15, -15.82, 56.36)
CIE-LCHlch(79.15, 58.54, 105.68°)
OKLaboklab(81.48% -0.0474 0.1301)
OKLCHoklch(81.48% 0.138 110)
XYZxyz(46.6209, 55.1935, 16.9998)
Luminance0.5519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA56 #5856CA
analogous
#CA9256 #C8CA56 #8ECA56
triadic
#C8CA56 #56C8CA #CA56C8
tetradic
#C8CA56 #56CA92 #5856CA #CA568E
square
#C8CA56 #56CA92 #5856CA #CA568E
split-complementary
#C8CA56 #568ECA #9256CA
monochromatic
#7D7E28 #ABAD36 #C8CA56 #D7D985 #E6E7B3

Accessibility & contrast

On white

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

On black

12.04
#C8CA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA56
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA56#FFFFFF#000000##000000
##C8CA561.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C249
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#D5BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8ca56;
/* rgb */ color: rgb(200, 202, 86);
/* oklch */ color: oklch(81.5% 0.138 110.0);
Tailwind
colors: {
  custom: {
    50: '#dbda8a',
    500: '#c8ca56',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca56;
$custom-light: #dbda8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca56",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 61.034,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81481,
    "c": 0.13842,
    "h": 110
  },
  "luminance": 0.55192
}

Semantic roles & 50–950 ramp

primary
#C8CA56
secondary
#3F3E86
accent
#4CDC4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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