#C4CC2B#C4CC2B

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

Color values

HEX#C4CC2B
RGBrgb(196, 204, 43)
HSLhsl(63, 65%, 48%)
HSVhsv(63, 79%, 80%)
CMYKcmyk(3.9%, 0%, 78.9%, 20%)
CIE-LABlab(79.10, -20.80, 72.07)
CIE-LCHlch(79.10, 75.01, 106.09°)
OKLaboklab(81.27% -0.0652 0.1566)
OKLCHoklch(81.27% 0.17 112.6)
XYZxyz(44.7954, 55.0970, 10.5601)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC2B #332BCC
analogous
#CC832B #C4CC2B #74CC2B
triadic
#C4CC2B #2BC4CC #CC2BC4
tetradic
#C4CC2B #2BCC83 #332BCC #CC2B74
square
#C4CC2B #2BCC83 #332BCC #CC2B74
split-complementary
#C4CC2B #2B74CC #832BCC
monochromatic
#636716 #939920 #C4CC2B #D5DC58 #E2E78B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CC2B#FFFFFF#000000##000000
##C4CC2B1.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)
#DCC200
Deuteranopia (green-blind)
#DCC63A
Tritanopia (blue-blind)
#D2BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc2b;
/* rgb */ color: rgb(196, 204, 43);
/* oklch */ color: oklch(81.3% 0.170 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadb73',
    500: '#c4cc2b',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc2b;
$custom-light: #dadb73;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc2b",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 43
  },
  "hsl": {
    "h": 62.981,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81268,
    "c": 0.16963,
    "h": 112.6
  },
  "luminance": 0.55096
}

Semantic roles & 50–950 ramp

primary
#C4CC2B
secondary
#2E2A71
accent
#40E848
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4CC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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