#C4CC30#C4CC30

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

Color values

HEX#C4CC30
RGBrgb(196, 204, 48)
HSLhsl(63, 62%, 49%)
HSVhsv(63, 76%, 80%)
CMYKcmyk(3.9%, 0%, 76.5%, 20%)
CIE-LABlab(79.12, -20.61, 70.64)
CIE-LCHlch(79.12, 73.59, 106.26°)
OKLaboklab(81.29% -0.0643 0.1544)
OKLCHoklch(81.29% 0.167 112.6)
XYZxyz(44.8928, 55.1360, 11.0732)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC30 #3830CC
analogous
#CC8630 #C4CC30 #76CC30
triadic
#C4CC30 #30C4CC #CC30C4
tetradic
#C4CC30 #30CC86 #3830CC #CC3076
square
#C4CC30 #30CC86 #3830CC #CC3076
split-complementary
#C4CC30 #3076CC #8630CC
monochromatic
#656919 #949A24 #C4CC30 #D3DA60 #E1E591

Accessibility & contrast

On white

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

On black

12.03
#C4CC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC30
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC30#FFFFFF#000000##000000
##C4CC301.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#DCC63E
Tritanopia (blue-blind)
#D2BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc30;
/* rgb */ color: rgb(196, 204, 48);
/* oklch */ color: oklch(81.3% 0.167 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadb75',
    500: '#c4cc30',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc30;
$custom-light: #dadb75;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc30",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 48
  },
  "hsl": {
    "h": 63.077,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81294,
    "c": 0.16728,
    "h": 112.6
  },
  "luminance": 0.55135
}

Semantic roles & 50–950 ramp

primary
#C4CC30
secondary
#312D73
accent
#43E54B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4CC30

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

Preview Lab → · Contrast checker → · Palette generator →

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