#C5CA18#C5CA18

#C5CA18 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.8% C 0.174 H 111.5°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#C5CA18
RGBrgb(197, 202, 24)
HSLhsl(62, 79%, 44%)
HSVhsv(62, 88%, 79%)
CMYKcmyk(2.5%, 0%, 88.1%, 20.8%)
CIE-LABlab(78.57, -19.91, 75.96)
CIE-LCHlch(78.57, 78.53, 104.68°)
OKLaboklab(80.84% -0.0639 0.1619)
OKLCHoklch(80.84% 0.174 111.5)
XYZxyz(44.3130, 54.1785, 8.9872)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA18 #1D18CA
analogous
#CA7618 #C5CA18 #6CCA18
triadic
#C5CA18 #18C5CA #CA18C5
tetradic
#C5CA18 #18CA76 #1D18CA #CA186C
square
#C5CA18 #18CA76 #1D18CA #CA186C
split-complementary
#C5CA18 #186CCA #7618CA
monochromatic
#5A5D0B #909312 #C5CA18 #E2E738 #EAEE6F

Accessibility & contrast

On white

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

On black

11.84
#C5CA18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA18
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA18#FFFFFF#000000##000000
##C5CA181.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC000
Deuteranopia (green-blind)
#DBC42E
Tritanopia (blue-blind)
#D3BDAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5ca18;
/* rgb */ color: rgb(197, 202, 24);
/* oklch */ color: oklch(80.8% 0.174 111.5);
Tailwind
colors: {
  custom: {
    50: '#dbd96d',
    500: '#c5ca18',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca18;
$custom-light: #dbd96d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca18",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 24
  },
  "hsl": {
    "h": 61.685,
    "s": 78.761,
    "l": 44.314
  },
  "oklch": {
    "l": 0.80842,
    "c": 0.17411,
    "h": 111.5
  },
  "luminance": 0.54177
}

Semantic roles & 50–950 ramp

primary
#C5CA18
secondary
#201E68
accent
#33F538
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5CA18

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

Preview Lab → · Contrast checker → · Palette generator →

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