#C5CA37#C5CA37

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

Color values

HEX#C5CA37
RGBrgb(197, 202, 55)
HSLhsl(62, 58%, 50%)
HSVhsv(62, 73%, 79%)
CMYKcmyk(2.5%, 0%, 72.8%, 20.8%)
CIE-LABlab(78.69, -18.91, 68.04)
CIE-LCHlch(78.69, 70.61, 105.53°)
OKLaboklab(80.98% -0.059 0.1501)
OKLCHoklch(80.98% 0.161 111.5)
XYZxyz(44.8376, 54.3884, 11.7498)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA37 #3C37CA
analogous
#CA8637 #C5CA37 #7BCA37
triadic
#C5CA37 #37C5CA #CA37C5
tetradic
#C5CA37 #37CA86 #3C37CA #CA377B
square
#C5CA37 #37CA86 #3C37CA #CA377B
split-complementary
#C5CA37 #377BCA #8637CA
monochromatic
#686A1C #979B29 #C5CA37 #D3D767 #E1E498

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CA37#FFFFFF#000000##000000
##C5CA371.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)
#DAC119
Deuteranopia (green-blind)
#DAC543
Tritanopia (blue-blind)
#D3BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca37;
/* rgb */ color: rgb(197, 202, 55);
/* oklch */ color: oklch(81.0% 0.161 111.5);
Tailwind
colors: {
  custom: {
    50: '#dad978',
    500: '#c5ca37',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca37;
$custom-light: #dad978;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca37",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 55
  },
  "hsl": {
    "h": 62.041,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80978,
    "c": 0.16128,
    "h": 111.5
  },
  "luminance": 0.54387
}

Semantic roles & 50–950 ramp

primary
#C5CA37
secondary
#333174
accent
#46E14C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CA37

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

Preview Lab → · Contrast checker → · Palette generator →

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