#C5CA57#C5CA57

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

Color values

HEX#C5CA57
RGBrgb(197, 202, 87)
HSLhsl(63, 52%, 57%)
HSVhsv(63, 57%, 79%)
CMYKcmyk(2.5%, 0%, 56.9%, 20.8%)
CIE-LABlab(78.93, -16.98, 55.60)
CIE-LCHlch(78.93, 58.13, 106.98°)
OKLaboklab(81.25% -0.0504 0.1286)
OKLCHoklch(81.25% 0.138 111.4)
XYZxyz(45.8679, 54.8005, 17.1763)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA57 #5C57CA
analogous
#CA9657 #C5CA57 #8CCA57
triadic
#C5CA57 #57C5CA #CA57C5
tetradic
#C5CA57 #57CA96 #5C57CA #CA578C
square
#C5CA57 #57CA96 #5C57CA #CA578C
split-complementary
#C5CA57 #578CCA #9657CA
monochromatic
#7B7F28 #A8AD37 #C5CA57 #D5D986 #E5E7B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CA57#FFFFFF#000000##000000
##C5CA571.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)
#D8C24B
Deuteranopia (green-blind)
#D9C55E
Tritanopia (blue-blind)
#D1BFB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca57;
/* rgb */ color: rgb(197, 202, 87);
/* oklch */ color: oklch(81.2% 0.138 111.4);
Tailwind
colors: {
  custom: {
    50: '#d9da8a',
    500: '#c5ca57',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca57;
$custom-light: #d9da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca57",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 62.609,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81246,
    "c": 0.13814,
    "h": 111.4
  },
  "luminance": 0.54799
}

Semantic roles & 50–950 ramp

primary
#C5CA57
secondary
#423F87
accent
#4CDB53
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C5CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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