#C8CA52#C8CA52

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

Color values

HEX#C8CA52
RGBrgb(200, 202, 82)
HSLhsl(61, 53%, 56%)
HSVhsv(61, 59%, 79%)
CMYKcmyk(1%, 0%, 59.4%, 20.8%)
CIE-LABlab(79.12, -16.11, 58.07)
CIE-LCHlch(79.12, 60.26, 105.50°)
OKLaboklab(81.44% -0.0486 0.1332)
OKLCHoklch(81.44% 0.142 110.1)
XYZxyz(46.4643, 55.1308, 16.1747)
Luminance0.5513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA52 #5452CA
analogous
#CA9052 #C8CA52 #8CCA52
triadic
#C8CA52 #52C8CA #CA52C8
tetradic
#C8CA52 #52CA90 #5452CA #CA528C
square
#C8CA52 #52CA90 #5452CA #CA528C
split-complementary
#C8CA52 #528CCA #9052CA
monochromatic
#7A7C26 #A9AB34 #C8CA52 #D7D881 #E6E7B0

Accessibility & contrast

On white

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

On black

12.03
#C8CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA52
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA52#FFFFFF#000000##000000
##C8CA521.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ca52;
/* rgb */ color: rgb(200, 202, 82);
/* oklch */ color: oklch(81.4% 0.142 110.1);
Tailwind
colors: {
  custom: {
    50: '#dbd987',
    500: '#c8ca52',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca52;
$custom-light: #dbd987;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca52",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 61,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81441,
    "c": 0.14179,
    "h": 110.1
  },
  "luminance": 0.5513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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