#C5CA3A#C5CA3A

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

Color values

HEX#C5CA3A
RGBrgb(197, 202, 58)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 71%, 79%)
CMYKcmyk(2.5%, 0%, 71.3%, 20.8%)
CIE-LABlab(78.70, -18.77, 67.02)
CIE-LCHlch(78.70, 69.60, 105.64°)
OKLaboklab(81% -0.0584 0.1485)
OKLCHoklch(81% 0.16 111.5)
XYZxyz(44.9117, 54.4180, 12.1401)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA3A #3F3ACA
analogous
#CA873A #C5CA3A #7DCA3A
triadic
#C5CA3A #3AC5CA #CA3AC5
tetradic
#C5CA3A #3ACA87 #3F3ACA #CA3A7D
square
#C5CA3A #3ACA87 #3F3ACA #CA3A7D
split-complementary
#C5CA3A #3A7DCA #873ACA
monochromatic
#6A6C1D #999D2A #C5CA3A #D3D76A #E1E49A

Accessibility & contrast

On white

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

On black

11.88
#C5CA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA3A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA3A#FFFFFF#000000##000000
##C5CA3A1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5ca3a;
/* rgb */ color: rgb(197, 202, 58);
/* oklch */ color: oklch(81.0% 0.160 111.5);
Tailwind
colors: {
  custom: {
    50: '#dad97a',
    500: '#c5ca3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca3a;
$custom-light: #dad97a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca3a",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 58
  },
  "hsl": {
    "h": 62.083,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80998,
    "c": 0.15953,
    "h": 111.5
  },
  "luminance": 0.54417
}

Semantic roles & 50–950 ramp

primary
#C5CA3A
secondary
#353276
accent
#47E14C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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