#C5CA40#C5CA40

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

Color values

HEX#C5CA40
RGBrgb(197, 202, 64)
HSLhsl(62, 57%, 52%)
HSVhsv(62, 68%, 79%)
CMYKcmyk(2.5%, 0%, 68.3%, 20.8%)
CIE-LABlab(78.74, -18.46, 64.89)
CIE-LCHlch(78.74, 67.46, 105.88°)
OKLaboklab(81.04% -0.057 0.145)
OKLCHoklch(81.04% 0.156 111.5)
XYZxyz(45.0733, 54.4827, 12.9914)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA40 #4540CA
analogous
#CA8A40 #C5CA40 #80CA40
triadic
#C5CA40 #40C5CA #CA40C5
tetradic
#C5CA40 #40CA8A #4540CA #CA4080
square
#C5CA40 #40CA8A #4540CA #CA4080
split-complementary
#C5CA40 #4080CA #8A40CA
monochromatic
#6D701F #9CA02C #C5CA40 #D4D770 #E2E5A0

Accessibility & contrast

On white

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

On black

11.90
#C5CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA40
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA40#FFFFFF#000000##000000
##C5CA401.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#D2BEAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca40;
/* rgb */ color: rgb(197, 202, 64);
/* oklch */ color: oklch(81.0% 0.156 111.5);
Tailwind
colors: {
  custom: {
    50: '#dad97d',
    500: '#c5ca40',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca40;
$custom-light: #dad97d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca40",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 62.174,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.8104,
    "c": 0.15576,
    "h": 111.5
  },
  "luminance": 0.54482
}

Semantic roles & 50–950 ramp

primary
#C5CA40
secondary
#37357A
accent
#48E04D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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