#C8CA57#C8CA57

#C8CA57 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#C8CA57
RGBrgb(200, 202, 87)
HSLhsl(61, 52%, 57%)
HSVhsv(61, 57%, 79%)
CMYKcmyk(1%, 0%, 56.9%, 20.8%)
CIE-LABlab(79.16, -15.74, 55.93)
CIE-LCHlch(79.16, 58.10, 105.72°)
OKLaboklab(81.49% -0.0471 0.1293)
OKLCHoklch(81.49% 0.138 110)
XYZxyz(46.6615, 55.2097, 17.2135)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA57 #5957CA
analogous
#CA9257 #C8CA57 #8FCA57
triadic
#C8CA57 #57C8CA #CA57C8
tetradic
#C8CA57 #57CA92 #5957CA #CA578F
square
#C8CA57 #57CA92 #5957CA #CA578F
split-complementary
#C8CA57 #578FCA #9257CA
monochromatic
#7D7F28 #ABAD37 #C8CA57 #D7D986 #E6E7B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CA57#FFFFFF#000000##000000
##C8CA571.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)
#D8C24B
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#D5BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8ca57;
/* rgb */ color: rgb(200, 202, 87);
/* oklch */ color: oklch(81.5% 0.138 110.0);
Tailwind
colors: {
  custom: {
    50: '#dbda8a',
    500: '#c8ca57',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca57;
$custom-light: #dbda8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca57",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 61.043,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81491,
    "c": 0.13756,
    "h": 110
  },
  "luminance": 0.55209
}

Semantic roles & 50–950 ramp

primary
#C8CA57
secondary
#403F87
accent
#4CDB4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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