#C4CC48#C4CC48

#C4CC48 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.5% C 0.153 H 112.7°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C4CC48
RGBrgb(196, 204, 72)
HSLhsl(64, 56%, 54%)
HSVhsv(64, 65%, 80%)
CMYKcmyk(3.9%, 0%, 64.7%, 20%)
CIE-LABlab(79.27, -19.41, 62.30)
CIE-LCHlch(79.27, 65.25, 107.30°)
OKLaboklab(81.46% -0.0588 0.1408)
OKLCHoklch(81.46% 0.153 112.7)
XYZxyz(45.5288, 55.3903, 14.4227)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC48 #5048CC
analogous
#CC9248 #C4CC48 #82CC48
triadic
#C4CC48 #48C4CC #CC48C4
tetradic
#C4CC48 #48CC92 #5048CC #CC4882
square
#C4CC48 #48CC92 #5048CC #CC4882
split-complementary
#C4CC48 #4882CC #9248CC
monochromatic
#737821 #A1A82F #C4CC48 #D3D978 #E3E7A8

Accessibility & contrast

On white

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

On black

12.08
#C4CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC48
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC48#FFFFFF#000000##000000
##C4CC481.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#D1C0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc48;
/* rgb */ color: rgb(196, 204, 72);
/* oklch */ color: oklch(81.5% 0.153 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9db82',
    500: '#c4cc48',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc48;
$custom-light: #d9db82;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc48",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 63.636,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81457,
    "c": 0.15257,
    "h": 112.7
  },
  "luminance": 0.55389
}

Semantic roles & 50–950 ramp

primary
#C4CC48
secondary
#3C3880
accent
#48E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C4CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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