#C5CB33#C5CB33

#C5CB33 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.164 H 111.9°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#C5CB33
RGBrgb(197, 203, 51)
HSLhsl(62, 60%, 50%)
HSVhsv(62, 75%, 80%)
CMYKcmyk(3%, 0%, 74.9%, 20.4%)
CIE-LABlab(78.94, -19.58, 69.58)
CIE-LCHlch(78.94, 72.28, 105.71°)
OKLaboklab(81.17% -0.0612 0.1527)
OKLCHoklch(81.17% 0.164 111.9)
XYZxyz(44.9809, 54.8223, 11.3436)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB33 #3933CB
analogous
#CB8533 #C5CB33 #79CB33
triadic
#C5CB33 #33C5CB #CB33C5
tetradic
#C5CB33 #33CB85 #3933CB #CB3379
square
#C5CB33 #33CB85 #3933CB #CB3379
split-complementary
#C5CB33 #3379CB #8533CB
monochromatic
#66691A #969A27 #C5CB33 #D3D863 #E1E494

Accessibility & contrast

On white

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

On black

11.96
#C5CB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB33
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB33#FFFFFF#000000##000000
##C5CB331.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC20D
Deuteranopia (green-blind)
#DBC540
Tritanopia (blue-blind)
#D3BEAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5cb33;
/* rgb */ color: rgb(197, 203, 51);
/* oklch */ color: oklch(81.2% 0.164 111.9);
Tailwind
colors: {
  custom: {
    50: '#dada77',
    500: '#c5cb33',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb33;
$custom-light: #dada77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb33",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 51
  },
  "hsl": {
    "h": 62.368,
    "s": 59.843,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81173,
    "c": 0.16448,
    "h": 111.9
  },
  "luminance": 0.54821
}

Semantic roles & 50–950 ramp

primary
#C5CB33
secondary
#322F73
accent
#45E34B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5CB33

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

Preview Lab → · Contrast checker → · Palette generator →

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