#C2CC58#C2CC58

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

Color values

HEX#C2CC58
RGBrgb(194, 204, 88)
HSLhsl(65, 53%, 57%)
HSVhsv(65, 57%, 80%)
CMYKcmyk(4.9%, 0%, 56.9%, 20%)
CIE-LABlab(79.25, -19.12, 55.45)
CIE-LCHlch(79.25, 58.66, 109.03°)
OKLaboklab(81.45% -0.0562 0.1285)
OKLCHoklch(81.45% 0.14 113.6)
XYZxyz(45.6034, 55.3604, 17.5139)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC58 #6258CC
analogous
#CC9C58 #C2CC58 #88CC58
triadic
#C2CC58 #58C2CC #CC58C2
tetradic
#C2CC58 #58CC9C #6258CC #CC5888
square
#C2CC58 #58CC9C #6258CC #CC5888
split-complementary
#C2CC58 #5888CC #9C58CC
monochromatic
#7A8228 #A6B136 #C2CC58 #D3DA87 #E4E9B6

Accessibility & contrast

On white

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

On black

12.07
#C2CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC58
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC58#FFFFFF#000000##000000
##C2CC581.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34C
Deuteranopia (green-blind)
#D9C65F
Tritanopia (blue-blind)
#CDC1B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc58;
/* rgb */ color: rgb(194, 204, 88);
/* oklch */ color: oklch(81.4% 0.140 113.6);
Tailwind
colors: {
  custom: {
    50: '#d7db8b',
    500: '#c2cc58',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc58;
$custom-light: #d7db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc58",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 65.172,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81449,
    "c": 0.14022,
    "h": 113.6
  },
  "luminance": 0.5536
}

Semantic roles & 50–950 ramp

primary
#C2CC58
secondary
#453F89
accent
#4BDD58
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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