#C8CA62#C8CA62

#C8CA62 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.6% C 0.128 H 109.9°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C8CA62
RGBrgb(200, 202, 98)
HSLhsl(61, 50%, 59%)
HSVhsv(61, 51%, 79%)
CMYKcmyk(1%, 0%, 51.5%, 20.8%)
CIE-LABlab(79.27, -14.86, 51.02)
CIE-LCHlch(79.27, 53.15, 106.24°)
OKLaboklab(81.62% -0.0434 0.1199)
OKLCHoklch(81.62% 0.128 109.9)
XYZxyz(47.1456, 55.4033, 19.7633)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA62 #6462CA
analogous
#CA9862 #C8CA62 #94CA62
triadic
#C8CA62 #62C8CA #CA62C8
tetradic
#C8CA62 #62CA98 #6462CA #CA6294
square
#C8CA62 #62CA98 #6462CA #CA6294
split-complementary
#C8CA62 #6294CA #9862CA
monochromatic
#83852D #B0B33C #C8CA62 #D8D990 #E8E9BE

Accessibility & contrast

On white

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

On black

12.08
#C8CA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA62
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA62#FFFFFF#000000##000000
##C8CA621.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C358
Deuteranopia (green-blind)
#D9C667
Tritanopia (blue-blind)
#D4BFB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8ca62;
/* rgb */ color: rgb(200, 202, 98);
/* oklch */ color: oklch(81.6% 0.128 109.9);
Tailwind
colors: {
  custom: {
    50: '#dbda91',
    500: '#c8ca62',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca62;
$custom-light: #dbda91;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca62",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 98
  },
  "hsl": {
    "h": 61.154,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81616,
    "c": 0.12753,
    "h": 109.9
  },
  "luminance": 0.55402
}

Semantic roles & 50–950 ramp

primary
#C8CA62
secondary
#45448C
accent
#4FD951
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8CA62

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

Preview Lab → · Contrast checker → · Palette generator →

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