#C4CC2D#C4CC2D

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

Color values

HEX#C4CC2D
RGBrgb(196, 204, 45)
HSLhsl(63, 64%, 49%)
HSVhsv(63, 78%, 80%)
CMYKcmyk(3.9%, 0%, 77.9%, 20%)
CIE-LABlab(79.11, -20.72, 71.52)
CIE-LCHlch(79.11, 74.46, 106.16°)
OKLaboklab(81.28% -0.0649 0.1558)
OKLCHoklch(81.28% 0.169 112.6)
XYZxyz(44.8330, 55.1120, 10.7581)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC2D #352DCC
analogous
#CC852D #C4CC2D #75CC2D
triadic
#C4CC2D #2DC4CC #CC2DC4
tetradic
#C4CC2D #2DCC85 #352DCC #CC2D75
square
#C4CC2D #2DCC85 #352DCC #CC2D75
split-complementary
#C4CC2D #2D75CC #852DCC
monochromatic
#646817 #949A22 #C4CC2D #D4DB5B #E1E68D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CC2D#FFFFFF#000000##000000
##C4CC2D1.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)
#DCC63C
Tritanopia (blue-blind)
#D2BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc2d;
/* rgb */ color: rgb(196, 204, 45);
/* oklch */ color: oklch(81.3% 0.169 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadb74',
    500: '#c4cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc2d;
$custom-light: #dadb74;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc2d",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 63.019,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81278,
    "c": 0.16872,
    "h": 112.6
  },
  "luminance": 0.55111
}

Semantic roles & 50–950 ramp

primary
#C4CC2D
secondary
#2F2B72
accent
#41E749
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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