#C5CB34#C5CB34

#C5CB34 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.97:1 contrast (WCAG AA passes).

Color values

HEX#C5CB34
RGBrgb(197, 203, 52)
HSLhsl(62, 59%, 50%)
HSVhsv(62, 74%, 80%)
CMYKcmyk(3%, 0%, 74.4%, 20.4%)
CIE-LABlab(78.94, -19.53, 69.26)
CIE-LCHlch(78.94, 71.97, 105.75°)
OKLaboklab(81.18% -0.061 0.1522)
OKLCHoklch(81.18% 0.164 111.9)
XYZxyz(45.0032, 54.8313, 11.4610)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB34 #3A34CB
analogous
#CB8534 #C5CB34 #7ACB34
triadic
#C5CB34 #34C5CB #CB34C5
tetradic
#C5CB34 #34CB85 #3A34CB #CB347A
square
#C5CB34 #34CB85 #3A34CB #CB347A
split-complementary
#C5CB34 #347ACB #8534CB
monochromatic
#666A1B #969A28 #C5CB34 #D3D765 #E1E495

Accessibility & contrast

On white

1.75
#C5CB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#C5CB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB34
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB34#FFFFFF#000000##000000
##C5CB341.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cb34;
/* rgb */ color: rgb(197, 203, 52);
/* oklch */ color: oklch(81.2% 0.164 111.9);
Tailwind
colors: {
  custom: {
    50: '#dada77',
    500: '#c5cb34',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb34;
$custom-light: #dada77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb34",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 52
  },
  "hsl": {
    "h": 62.384,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.81178,
    "c": 0.16395,
    "h": 111.9
  },
  "luminance": 0.5483
}

Semantic roles & 50–950 ramp

primary
#C5CB34
secondary
#323073
accent
#45E24C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5CB34

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

Preview Lab → · Contrast checker → · Palette generator →

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