#C5CA39#C5CA39

#C5CA39 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#C5CA39
RGBrgb(197, 202, 57)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 72%, 79%)
CMYKcmyk(2.5%, 0%, 71.8%, 20.8%)
CIE-LABlab(78.70, -18.82, 67.36)
CIE-LCHlch(78.70, 69.94, 105.61°)
OKLaboklab(80.99% -0.0586 0.149)
OKLCHoklch(80.99% 0.16 111.5)
XYZxyz(44.8865, 54.4079, 12.0074)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA39 #3E39CA
analogous
#CA8639 #C5CA39 #7CCA39
triadic
#C5CA39 #39C5CA #CA39C5
tetradic
#C5CA39 #39CA86 #3E39CA #CA397C
square
#C5CA39 #39CA86 #3E39CA #CA397C
split-complementary
#C5CA39 #397CCA #8639CA
monochromatic
#696C1D #989C2A #C5CA39 #D3D769 #E1E49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CA39#FFFFFF#000000##000000
##C5CA391.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)
#DAC11D
Deuteranopia (green-blind)
#DAC544
Tritanopia (blue-blind)
#D3BEAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca39;
/* rgb */ color: rgb(197, 202, 57);
/* oklch */ color: oklch(81.0% 0.160 111.5);
Tailwind
colors: {
  custom: {
    50: '#dad979',
    500: '#c5ca39',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca39;
$custom-light: #dad979;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca39",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 57
  },
  "hsl": {
    "h": 62.069,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80991,
    "c": 0.16012,
    "h": 111.5
  },
  "luminance": 0.54407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5CA39

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

Preview Lab → · Contrast checker → · Palette generator →

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