#C5CA33#C5CA33

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

Color values

HEX#C5CA33
RGBrgb(197, 202, 51)
HSLhsl(62, 60%, 50%)
HSVhsv(62, 75%, 79%)
CMYKcmyk(2.5%, 0%, 74.8%, 20.8%)
CIE-LABlab(78.67, -19.08, 69.33)
CIE-LCHlch(78.67, 71.91, 105.39°)
OKLaboklab(80.95% -0.0599 0.1521)
OKLCHoklch(80.95% 0.163 111.5)
XYZxyz(44.7456, 54.3516, 11.2652)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA33 #3833CA
analogous
#CA8433 #C5CA33 #79CA33
triadic
#C5CA33 #33C5CA #CA33C5
tetradic
#C5CA33 #33CA84 #3833CA #CA3379
square
#C5CA33 #33CA84 #3833CA #CA3379
split-complementary
#C5CA33 #3379CA #8433CA
monochromatic
#66681A #959927 #C5CA33 #D4D863 #E1E494

Accessibility & contrast

On white

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

On black

11.87
#C5CA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA33
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA33#FFFFFF#000000##000000
##C5CA331.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC10E
Deuteranopia (green-blind)
#DBC440
Tritanopia (blue-blind)
#D3BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca33;
/* rgb */ color: rgb(197, 202, 51);
/* oklch */ color: oklch(81.0% 0.163 111.5);
Tailwind
colors: {
  custom: {
    50: '#dad977',
    500: '#c5ca33',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca33;
$custom-light: #dad977;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca33",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 51
  },
  "hsl": {
    "h": 61.987,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.80954,
    "c": 0.16347,
    "h": 111.5
  },
  "luminance": 0.5435
}

Semantic roles & 50–950 ramp

primary
#C5CA33
secondary
#312F72
accent
#45E34A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5CA33

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

Preview Lab → · Contrast checker → · Palette generator →

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