#C2CC54#C2CC54

#C2CC54 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.4% C 0.144 H 113.6°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C2CC54
RGBrgb(194, 204, 84)
HSLhsl(65, 54%, 56%)
HSVhsv(65, 59%, 80%)
CMYKcmyk(4.9%, 0%, 58.8%, 20%)
CIE-LABlab(79.21, -19.42, 57.18)
CIE-LCHlch(79.21, 60.38, 108.76°)
OKLaboklab(81.41% -0.0574 0.1317)
OKLCHoklch(81.41% 0.144 113.6)
XYZxyz(45.4423, 55.2960, 16.6651)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC54 #5E54CC
analogous
#CC9A54 #C2CC54 #86CC54
triadic
#C2CC54 #54C2CC #CC54C2
tetradic
#C2CC54 #54CC9A #5E54CC #CC5486
square
#C2CC54 #54CC9A #5E54CC #CC5486
split-complementary
#C2CC54 #5486CC #9A54CC
monochromatic
#788026 #A4AF34 #C2CC54 #D3DA83 #E4E8B2

Accessibility & contrast

On white

1.74
#C2CC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#C2CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC54
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC54#FFFFFF#000000##000000
##C2CC541.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC346
Deuteranopia (green-blind)
#DAC55B
Tritanopia (blue-blind)
#CEC1B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc54;
/* rgb */ color: rgb(194, 204, 84);
/* oklch */ color: oklch(81.4% 0.144 113.6);
Tailwind
colors: {
  custom: {
    50: '#d7db89',
    500: '#c2cc54',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc54;
$custom-light: #d7db89;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc54",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 65,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81408,
    "c": 0.14364,
    "h": 113.6
  },
  "luminance": 0.55295
}

Semantic roles & 50–950 ramp

primary
#C2CC54
secondary
#433D87
accent
#4ADD57
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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