#C3CC38#C3CC38

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

Color values

HEX#C3CC38
RGBrgb(195, 204, 56)
HSLhsl(64, 59%, 51%)
HSVhsv(64, 73%, 80%)
CMYKcmyk(4.4%, 0%, 72.5%, 20%)
CIE-LABlab(79.08, -20.69, 68.02)
CIE-LCHlch(79.08, 71.10, 106.92°)
OKLaboklab(81.26% -0.0638 0.1503)
OKLCHoklch(81.26% 0.163 113)
XYZxyz(44.8137, 55.0744, 12.0103)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CC38 #4138CC
analogous
#CC8B38 #C3CC38 #79CC38
triadic
#C3CC38 #38C3CC #CC38C3
tetradic
#C3CC38 #38CC8B #4138CC #CC3879
square
#C3CC38 #38CC8B #4138CC #CC3879
split-complementary
#C3CC38 #3879CC #8B38CC
monochromatic
#696E1C #979E29 #C3CC38 #D2D869 #E0E599

Accessibility & contrast

On white

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

On black

12.01
#C3CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CC38
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CC38#FFFFFF#000000##000000
##C3CC381.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3cc38;
/* rgb */ color: rgb(195, 204, 56);
/* oklch */ color: oklch(81.3% 0.163 113.0);
Tailwind
colors: {
  custom: {
    50: '#d9db79',
    500: '#c3cc38',
    950: '#000000',
  },
}
SCSS
$custom: #c3cc38;
$custom-light: #d9db79;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cc38",
  "rgb": {
    "r": 195,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 63.649,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81259,
    "c": 0.16327,
    "h": 113
  },
  "luminance": 0.55073
}

Semantic roles & 50–950 ramp

primary
#C3CC38
secondary
#353177
accent
#45E24F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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