#C5CA2A#C5CA2A

#C5CA2A is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.9% C 0.168 H 111.5°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#C5CA2A
RGBrgb(197, 202, 42)
HSLhsl(62, 66%, 48%)
HSVhsv(62, 79%, 79%)
CMYKcmyk(2.5%, 0%, 79.2%, 20.8%)
CIE-LABlab(78.62, -19.42, 71.96)
CIE-LCHlch(78.62, 74.53, 105.11°)
OKLaboklab(80.91% -0.0615 0.1561)
OKLCHoklch(80.91% 0.168 111.5)
XYZxyz(44.5660, 54.2797, 10.3195)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA2A #2F2ACA
analogous
#CA7F2A #C5CA2A #75CA2A
triadic
#C5CA2A #2AC5CA #CA2AC5
tetradic
#C5CA2A #2ACA7F #2F2ACA #CA2A75
square
#C5CA2A #2ACA7F #2F2ACA #CA2A75
split-complementary
#C5CA2A #2A75CA #7F2ACA
monochromatic
#626515 #94971F #C5CA2A #D8DC55 #E3E688

Accessibility & contrast

On white

1.77
#C5CA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#C5CA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA2A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA2A#FFFFFF#000000##000000
##C5CA2A1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#DBC439
Tritanopia (blue-blind)
#D3BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca2a;
/* rgb */ color: rgb(197, 202, 42);
/* oklch */ color: oklch(80.9% 0.168 111.5);
Tailwind
colors: {
  custom: {
    50: '#dbd973',
    500: '#c5ca2a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca2a;
$custom-light: #dbd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca2a",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 61.875,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.80908,
    "c": 0.16782,
    "h": 111.5
  },
  "luminance": 0.54279
}

Semantic roles & 50–950 ramp

primary
#C5CA2A
secondary
#2B296F
accent
#3FE945
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5CA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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