#C3CC31#C3CC31

#C3CC31 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.2% C 0.167 H 113.0°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#C3CC31
RGBrgb(195, 204, 49)
HSLhsl(63, 61%, 50%)
HSVhsv(63, 76%, 80%)
CMYKcmyk(4.4%, 0%, 76%, 20%)
CIE-LABlab(79.05, -20.99, 70.25)
CIE-LCHlch(79.05, 73.32, 106.64°)
OKLaboklab(81.22% -0.0652 0.1538)
OKLCHoklch(81.22% 0.167 113)
XYZxyz(44.6544, 55.0106, 11.1709)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CC31 #3A31CC
analogous
#CC8831 #C3CC31 #76CC31
triadic
#C3CC31 #31C3CC #CC31C3
tetradic
#C3CC31 #31CC88 #3A31CC #CC3176
square
#C3CC31 #31CC88 #3A31CC #CC3176
split-complementary
#C3CC31 #3176CC #8831CC
monochromatic
#656919 #949B25 #C3CC31 #D2D961 #E0E592

Accessibility & contrast

On white

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

On black

12.00
#C3CC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CC31
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CC31#FFFFFF#000000##000000
##C3CC311.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC204
Deuteranopia (green-blind)
#DCC53F
Tritanopia (blue-blind)
#D0BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c3cc31;
/* rgb */ color: rgb(195, 204, 49);
/* oklch */ color: oklch(81.2% 0.167 113.0);
Tailwind
colors: {
  custom: {
    50: '#d9db76',
    500: '#c3cc31',
    950: '#000000',
  },
}
SCSS
$custom: #c3cc31;
$custom-light: #d9db76;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cc31",
  "rgb": {
    "r": 195,
    "g": 204,
    "b": 49
  },
  "hsl": {
    "h": 63.484,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81218,
    "c": 0.16705,
    "h": 113
  },
  "luminance": 0.5501
}

Semantic roles & 50–950 ramp

primary
#C3CC31
secondary
#322E73
accent
#43E44D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C3CC31

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

Preview Lab → · Contrast checker → · Palette generator →

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