#C4CC45#C4CC45

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

Color values

HEX#C4CC45
RGBrgb(196, 204, 69)
HSLhsl(64, 57%, 54%)
HSVhsv(64, 66%, 80%)
CMYKcmyk(3.9%, 0%, 66.2%, 20%)
CIE-LABlab(79.24, -19.59, 63.46)
CIE-LCHlch(79.24, 66.42, 107.15°)
OKLaboklab(81.43% -0.0596 0.1428)
OKLCHoklch(81.43% 0.155 112.6)
XYZxyz(45.4333, 55.3522, 13.9198)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC45 #4D45CC
analogous
#CC9145 #C4CC45 #80CC45
triadic
#C4CC45 #45C4CC #CC45C4
tetradic
#C4CC45 #45CC91 #4D45CC #CC4580
square
#C4CC45 #45CC91 #4D45CC #CC4580
split-complementary
#C4CC45 #4580CC #9145CC
monochromatic
#717620 #9FA62E #C4CC45 #D3D975 #E2E6A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CC45#FFFFFF#000000##000000
##C4CC451.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)
#DBC332
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#D1C0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc45;
/* rgb */ color: rgb(196, 204, 69);
/* oklch */ color: oklch(81.4% 0.155 112.6);
Tailwind
colors: {
  custom: {
    50: '#d9db80',
    500: '#c4cc45',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc45;
$custom-light: #d9db80;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc45",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 63.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81433,
    "c": 0.15471,
    "h": 112.6
  },
  "luminance": 0.55351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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