#C2CC3F#C2CC3F

#C2CC3F 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.00:1 contrast (WCAG AA passes).

Color values

HEX#C2CC3F
RGBrgb(194, 204, 63)
HSLhsl(64, 58%, 52%)
HSVhsv(64, 69%, 80%)
CMYKcmyk(4.9%, 0%, 69.1%, 20%)
CIE-LABlab(79.05, -20.75, 65.49)
CIE-LCHlch(79.05, 68.70, 107.58°)
OKLaboklab(81.23% -0.0633 0.1462)
OKLCHoklch(81.23% 0.159 113.4)
XYZxyz(44.7395, 55.0149, 12.9638)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC3F #493FCC
analogous
#CC8F3F #C2CC3F #7CCC3F
triadic
#C2CC3F #3FC2CC #CC3FC2
tetradic
#C2CC3F #3FCC8F #493FCC #CC3F7C
square
#C2CC3F #3FCC8F #493FCC #CC3F7C
split-complementary
#C2CC3F #3F7CCC #8F3FCC
monochromatic
#6C721E #9AA32B #C2CC3F #D1D96F #E1E6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c2cc3f;
/* rgb */ color: rgb(194, 204, 63);
/* oklch */ color: oklch(81.2% 0.159 113.4);
Tailwind
colors: {
  custom: {
    50: '#d8db7d',
    500: '#c2cc3f',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc3f;
$custom-light: #d8db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc3f",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 64.255,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81227,
    "c": 0.15927,
    "h": 113.4
  },
  "luminance": 0.55014
}

Semantic roles & 50–950 ramp

primary
#C2CC3F
secondary
#39347B
accent
#47E152
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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