#C1CA40#C1CA40

#C1CA40 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.7% C 0.157 H 113.1°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#C1CA40
RGBrgb(193, 202, 64)
HSLhsl(64, 57%, 52%)
HSVhsv(64, 68%, 79%)
CMYKcmyk(4.5%, 0%, 68.3%, 20.8%)
CIE-LABlab(78.43, -20.13, 64.48)
CIE-LCHlch(78.43, 67.55, 107.34°)
OKLaboklab(80.72% -0.0614 0.1442)
OKLCHoklch(80.72% 0.157 113.1)
XYZxyz(44.0395, 53.9496, 12.9429)
Luminance0.5395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CA40 #4940CA
analogous
#CA8E40 #C1CA40 #7CCA40
triadic
#C1CA40 #40C1CA #CA40C1
tetradic
#C1CA40 #40CA8E #4940CA #CA407C
square
#C1CA40 #40CA8E #4940CA #CA407C
split-complementary
#C1CA40 #407CCA #8E40CA
monochromatic
#6B701F #99A02C #C1CA40 #D1D770 #E0E5A0

Accessibility & contrast

On white

1.78
#C1CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#C1CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CA40
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CA40#FFFFFF#000000##000000
##C1CA401.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D9C44A
Tritanopia (blue-blind)
#CEBEAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c1ca40;
/* rgb */ color: rgb(193, 202, 64);
/* oklch */ color: oklch(80.7% 0.157 113.1);
Tailwind
colors: {
  custom: {
    50: '#d7da7d',
    500: '#c1ca40',
    950: '#000000',
  },
}
SCSS
$custom: #c1ca40;
$custom-light: #d7da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ca40",
  "rgb": {
    "r": 193,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 63.913,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80715,
    "c": 0.15675,
    "h": 113.1
  },
  "luminance": 0.53949
}

Semantic roles & 50–950 ramp

primary
#C1CA40
secondary
#39357A
accent
#48E052
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C1CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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