#C4CC46#C4CC46

#C4CC46 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.4% C 0.154 H 112.6°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#C4CC46
RGBrgb(196, 204, 70)
HSLhsl(64, 57%, 54%)
HSVhsv(64, 66%, 80%)
CMYKcmyk(3.9%, 0%, 65.7%, 20%)
CIE-LABlab(79.25, -19.53, 63.08)
CIE-LCHlch(79.25, 66.03, 107.20°)
OKLaboklab(81.44% -0.0593 0.1421)
OKLCHoklch(81.44% 0.154 112.6)
XYZxyz(45.4646, 55.3647, 14.0846)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC46 #4E46CC
analogous
#CC9146 #C4CC46 #81CC46
triadic
#C4CC46 #46C4CC #CC46C4
tetradic
#C4CC46 #46CC91 #4E46CC #CC4681
square
#C4CC46 #46CC91 #4E46CC #CC4681
split-complementary
#C4CC46 #4681CC #9146CC
monochromatic
#727721 #A0A72E #C4CC46 #D3D976 #E3E6A6

Accessibility & contrast

On white

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

On black

12.07
#C4CC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC46
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC46#FFFFFF#000000##000000
##C4CC461.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4cc46;
/* rgb */ color: rgb(196, 204, 70);
/* oklch */ color: oklch(81.4% 0.154 112.6);
Tailwind
colors: {
  custom: {
    50: '#d9db80',
    500: '#c4cc46',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc46;
$custom-light: #d9db80;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc46",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 63.582,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81441,
    "c": 0.15401,
    "h": 112.6
  },
  "luminance": 0.55364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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