#C2CC48#C2CC48

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

Color values

HEX#C2CC48
RGBrgb(194, 204, 72)
HSLhsl(65, 56%, 54%)
HSVhsv(65, 65%, 80%)
CMYKcmyk(4.9%, 0%, 64.7%, 20%)
CIE-LABlab(79.11, -20.24, 62.09)
CIE-LCHlch(79.11, 65.31, 108.05°)
OKLaboklab(81.3% -0.061 0.1404)
OKLCHoklch(81.3% 0.153 113.5)
XYZxyz(45.0119, 55.1238, 14.3984)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC48 #5248CC
analogous
#CC9448 #C2CC48 #80CC48
triadic
#C2CC48 #48C2CC #CC48C2
tetradic
#C2CC48 #48CC94 #5248CC #CC4880
square
#C2CC48 #48CC94 #5248CC #CC4880
split-complementary
#C2CC48 #4880CC #9448CC
monochromatic
#727821 #9FA82F #C2CC48 #D2D978 #E2E7A8

Accessibility & contrast

On white

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

On black

12.02
#C2CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC48
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC48#FFFFFF#000000##000000
##C2CC481.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC336
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc48;
/* rgb */ color: rgb(194, 204, 72);
/* oklch */ color: oklch(81.3% 0.153 113.5);
Tailwind
colors: {
  custom: {
    50: '#d7db82',
    500: '#c2cc48',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc48;
$custom-light: #d7db82;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc48",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 64.545,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81297,
    "c": 0.15307,
    "h": 113.5
  },
  "luminance": 0.55123
}

Semantic roles & 50–950 ramp

primary
#C2CC48
secondary
#3D3880
accent
#48E054
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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