#C5CA52#C5CA52

#C5CA52 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.2% C 0.142 H 111.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#C5CA52
RGBrgb(197, 202, 82)
HSLhsl(63, 53%, 56%)
HSVhsv(63, 59%, 79%)
CMYKcmyk(2.5%, 0%, 59.4%, 20.8%)
CIE-LABlab(78.88, -17.34, 57.75)
CIE-LCHlch(78.88, 60.29, 106.72°)
OKLaboklab(81.19% -0.052 0.1326)
OKLCHoklch(81.19% 0.142 111.4)
XYZxyz(45.6707, 54.7216, 16.1375)
Luminance0.5472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA52 #5752CA
analogous
#CA9352 #C5CA52 #89CA52
triadic
#C5CA52 #52C5CA #CA52C5
tetradic
#C5CA52 #52CA93 #5752CA #CA5289
square
#C5CA52 #52CA93 #5752CA #CA5289
split-complementary
#C5CA52 #5289CA #9352CA
monochromatic
#787C26 #A6AB34 #C5CA52 #D5D881 #E4E7B0

Accessibility & contrast

On white

1.76
#C5CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#C5CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA52
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA52#FFFFFF#000000##000000
##C5CA521.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C244
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#D1BFB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca52;
/* rgb */ color: rgb(197, 202, 82);
/* oklch */ color: oklch(81.2% 0.142 111.4);
Tailwind
colors: {
  custom: {
    50: '#d9da87',
    500: '#c5ca52',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca52;
$custom-light: #d9da87;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca52",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 62.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81194,
    "c": 0.14237,
    "h": 111.4
  },
  "luminance": 0.54721
}

Semantic roles & 50–950 ramp

primary
#C5CA52
secondary
#3F3C84
accent
#4BDD51
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C5CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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