#C3CA40#C3CA40

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

Color values

HEX#C3CA40
RGBrgb(195, 202, 64)
HSLhsl(63, 57%, 52%)
HSVhsv(63, 68%, 79%)
CMYKcmyk(3.5%, 0%, 68.3%, 20.8%)
CIE-LABlab(78.59, -19.30, 64.68)
CIE-LCHlch(78.59, 67.50, 106.61°)
OKLaboklab(80.88% -0.0592 0.1446)
OKLCHoklch(80.88% 0.156 112.3)
XYZxyz(44.5530, 54.2144, 12.9670)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CA40 #4740CA
analogous
#CA8C40 #C3CA40 #7ECA40
triadic
#C3CA40 #40C3CA #CA40C3
tetradic
#C3CA40 #40CA8C #4740CA #CA407E
square
#C3CA40 #40CA8C #4740CA #CA407E
split-complementary
#C3CA40 #407ECA #8C40CA
monochromatic
#6C701F #9AA02C #C3CA40 #D2D770 #E1E5A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3CA40#FFFFFF#000000##000000
##C3CA401.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)
#D9C12A
Deuteranopia (green-blind)
#D9C44A
Tritanopia (blue-blind)
#D0BEAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c3ca40;
/* rgb */ color: rgb(195, 202, 64);
/* oklch */ color: oklch(80.9% 0.156 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d97d',
    500: '#c3ca40',
    950: '#000000',
  },
}
SCSS
$custom: #c3ca40;
$custom-light: #d8d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ca40",
  "rgb": {
    "r": 195,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 63.043,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80877,
    "c": 0.15623,
    "h": 112.3
  },
  "luminance": 0.54213
}

Semantic roles & 50–950 ramp

primary
#C3CA40
secondary
#38357A
accent
#48E050
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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