#C3CA42#C3CA42

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

Color values

HEX#C3CA42
RGBrgb(195, 202, 66)
HSLhsl(63, 56%, 53%)
HSVhsv(63, 67%, 79%)
CMYKcmyk(3.5%, 0%, 67.3%, 20.8%)
CIE-LABlab(78.60, -19.19, 63.94)
CIE-LCHlch(78.60, 66.76, 106.70°)
OKLaboklab(80.89% -0.0587 0.1434)
OKLCHoklch(80.89% 0.155 112.3)
XYZxyz(44.6109, 54.2375, 13.2721)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CA42 #4942CA
analogous
#CA8D42 #C3CA42 #7FCA42
triadic
#C3CA42 #42C3CA #CA42C3
tetradic
#C3CA42 #42CA8D #4942CA #CA427F
square
#C3CA42 #42CA8D #4942CA #CA427F
split-complementary
#C3CA42 #427FCA #8D42CA
monochromatic
#6E7220 #9CA22D #C3CA42 #D2D772 #E1E5A2

Accessibility & contrast

On white

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

On black

11.85
#C3CA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CA42
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CA42#FFFFFF#000000##000000
##C3CA421.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#D0BEAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c3ca42;
/* rgb */ color: rgb(195, 202, 66);
/* oklch */ color: oklch(80.9% 0.155 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d97e',
    500: '#c3ca42',
    950: '#000000',
  },
}
SCSS
$custom: #c3ca42;
$custom-light: #d8d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ca42",
  "rgb": {
    "r": 195,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 63.088,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80892,
    "c": 0.1549,
    "h": 112.3
  },
  "luminance": 0.54237
}

Semantic roles & 50–950 ramp

primary
#C3CA42
secondary
#39357B
accent
#48DF50
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3CA42

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

Preview Lab → · Contrast checker → · Palette generator →

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