#C5CA34#C5CA34

#C5CA34 is a light, vivid yellow. Relative luminance 0.544; 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#C5CA34
RGBrgb(197, 202, 52)
HSLhsl(62, 59%, 50%)
HSVhsv(62, 74%, 79%)
CMYKcmyk(2.5%, 0%, 74.3%, 20.8%)
CIE-LABlab(78.67, -19.04, 69.01)
CIE-LCHlch(78.67, 71.59, 105.42°)
OKLaboklab(80.96% -0.0597 0.1516)
OKLCHoklch(80.96% 0.163 111.5)
XYZxyz(44.7678, 54.3605, 11.3825)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA34 #3934CA
analogous
#CA8434 #C5CA34 #7ACA34
triadic
#C5CA34 #34C5CA #CA34C5
tetradic
#C5CA34 #34CA84 #3934CA #CA347A
square
#C5CA34 #34CA84 #3934CA #CA347A
split-complementary
#C5CA34 #347ACA #8434CA
monochromatic
#66691B #969927 #C5CA34 #D3D764 #E1E495

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CA34#FFFFFF#000000##000000
##C5CA341.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)
#DAC111
Deuteranopia (green-blind)
#DBC540
Tritanopia (blue-blind)
#D3BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca34;
/* rgb */ color: rgb(197, 202, 52);
/* oklch */ color: oklch(81.0% 0.163 111.5);
Tailwind
colors: {
  custom: {
    50: '#dad977',
    500: '#c5ca34',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca34;
$custom-light: #dad977;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca34",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 52
  },
  "hsl": {
    "h": 62,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.8096,
    "c": 0.16294,
    "h": 111.5
  },
  "luminance": 0.54359
}

Semantic roles & 50–950 ramp

primary
#C5CA34
secondary
#323073
accent
#46E24B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5CA34

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

Preview Lab → · Contrast checker → · Palette generator →

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