#C3CC40#C3CC40

#C3CC40 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.3% C 0.158 H 113.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#C3CC40
RGBrgb(195, 204, 64)
HSLhsl(64, 58%, 53%)
HSVhsv(64, 69%, 80%)
CMYKcmyk(4.4%, 0%, 68.6%, 20%)
CIE-LABlab(79.13, -20.28, 65.23)
CIE-LCHlch(79.13, 68.31, 107.27°)
OKLaboklab(81.31% -0.0619 0.1457)
OKLCHoklch(81.31% 0.158 113)
XYZxyz(45.0253, 55.1590, 13.1244)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CC40 #4940CC
analogous
#CC8F40 #C3CC40 #7DCC40
triadic
#C3CC40 #40C3CC #CC40C3
tetradic
#C3CC40 #40CC8F #4940CC #CC407D
square
#C3CC40 #40CC8F #4940CC #CC407D
split-complementary
#C3CC40 #407DCC #8F40CC
monochromatic
#6E731F #9CA32C #C3CC40 #D2D970 #E1E6A1

Accessibility & contrast

On white

1.75
#C3CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#C3CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CC40
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CC40#FFFFFF#000000##000000
##C3CC401.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22A
Deuteranopia (green-blind)
#DBC54A
Tritanopia (blue-blind)
#D0C0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c3cc40;
/* rgb */ color: rgb(195, 204, 64);
/* oklch */ color: oklch(81.3% 0.158 113.0);
Tailwind
colors: {
  custom: {
    50: '#d8db7d',
    500: '#c3cc40',
    950: '#000000',
  },
}
SCSS
$custom: #c3cc40;
$custom-light: #d8db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cc40",
  "rgb": {
    "r": 195,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 63.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81314,
    "c": 0.15836,
    "h": 113
  },
  "luminance": 0.55158
}

Semantic roles & 50–950 ramp

primary
#C3CC40
secondary
#39347C
accent
#47E151
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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