#C2CC40#C2CC40

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

Color values

HEX#C2CC40
RGBrgb(194, 204, 64)
HSLhsl(64, 58%, 53%)
HSVhsv(64, 69%, 80%)
CMYKcmyk(4.9%, 0%, 68.6%, 20%)
CIE-LABlab(79.06, -20.70, 65.13)
CIE-LCHlch(79.06, 68.34, 107.63°)
OKLaboklab(81.23% -0.063 0.1456)
OKLCHoklch(81.23% 0.159 113.4)
XYZxyz(44.7677, 55.0261, 13.1123)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC40 #4A40CC
analogous
#CC9040 #C2CC40 #7CCC40
triadic
#C2CC40 #40C2CC #CC40C2
tetradic
#C2CC40 #40CC90 #4A40CC #CC407C
square
#C2CC40 #40CC90 #4A40CC #CC407C
split-complementary
#C2CC40 #407CCC #9040CC
monochromatic
#6D731F #9BA32C #C2CC40 #D1D970 #E1E6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CC40#FFFFFF#000000##000000
##C2CC401.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)
#DBC22A
Deuteranopia (green-blind)
#DBC54A
Tritanopia (blue-blind)
#CFC0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc40;
/* rgb */ color: rgb(194, 204, 64);
/* oklch */ color: oklch(81.2% 0.159 113.4);
Tailwind
colors: {
  custom: {
    50: '#d8db7d',
    500: '#c2cc40',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc40;
$custom-light: #d8db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc40",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 64.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81234,
    "c": 0.15862,
    "h": 113.4
  },
  "luminance": 0.55025
}

Semantic roles & 50–950 ramp

primary
#C2CC40
secondary
#3A347C
accent
#47E152
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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