#C5CA02#C5CA02

#C5CA02 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.8% C 0.178 H 111.6°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#C5CA02
RGBrgb(197, 202, 2)
HSLhsl(62, 98%, 40%)
HSVhsv(62, 99%, 79%)
CMYKcmyk(2.5%, 0%, 99%, 20.8%)
CIE-LABlab(78.53, -20.20, 78.60)
CIE-LCHlch(78.53, 81.16, 104.41°)
OKLaboklab(80.8% -0.0654 0.1656)
OKLCHoklch(80.8% 0.178 111.6)
XYZxyz(44.1592, 54.1170, 8.1769)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA02 #0702CA
analogous
#CA6B02 #C5CA02 #61CA02
triadic
#C5CA02 #02C5CA #CA02C5
tetradic
#C5CA02 #02CA6B #0702CA #CA0261
square
#C5CA02 #02CA6B #0702CA #CA0261
split-complementary
#C5CA02 #0261CA #6B02CA
monochromatic
#4F5101 #8A8D01 #C5CA02 #F7FD0D #F9FD49

Accessibility & contrast

On white

1.78
#C5CA02 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#C5CA02 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA02
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA02#FFFFFF#000000##000000
##C5CA021.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC000
Deuteranopia (green-blind)
#DCC426
Tritanopia (blue-blind)
#D4BDAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5ca02;
/* rgb */ color: rgb(197, 202, 2);
/* oklch */ color: oklch(80.8% 0.178 111.6);
Tailwind
colors: {
  custom: {
    50: '#dbd969',
    500: '#c5ca02',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca02;
$custom-light: #dbd969;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca02",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 2
  },
  "hsl": {
    "h": 61.5,
    "s": 98.039,
    "l": 40
  },
  "oklch": {
    "l": 0.80802,
    "c": 0.17802,
    "h": 111.6
  },
  "luminance": 0.54116
}

Semantic roles & 50–950 ramp

primary
#C5CA02
secondary
#14125F
accent
#29FF2E
background
#FEFEFB
surface
#FCFBF0
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5CA02

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

Preview Lab → · Contrast checker → · Palette generator →

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