#C4CC4A#C4CC4A

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

Color values

HEX#C4CC4A
RGBrgb(196, 204, 74)
HSLhsl(64, 56%, 55%)
HSVhsv(64, 64%, 80%)
CMYKcmyk(3.9%, 0%, 63.7%, 20%)
CIE-LABlab(79.28, -19.28, 61.51)
CIE-LCHlch(79.28, 64.46, 107.41°)
OKLaboklab(81.47% -0.0582 0.1394)
OKLCHoklch(81.47% 0.151 112.7)
XYZxyz(45.5951, 55.4169, 14.7719)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC4A #524ACC
analogous
#CC934A #C4CC4A #83CC4A
triadic
#C4CC4A #4AC4CC #CC4AC4
tetradic
#C4CC4A #4ACC93 #524ACC #CC4A83
square
#C4CC4A #4ACC93 #524ACC #CC4A83
split-complementary
#C4CC4A #4A83CC #934ACC
monochromatic
#747922 #A2A930 #C4CC4A #D4D97A #E3E7A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CC4A#FFFFFF#000000##000000
##C4CC4A1.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)
#DBC339
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#D1C0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc4a;
/* rgb */ color: rgb(196, 204, 74);
/* oklch */ color: oklch(81.5% 0.151 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9db83',
    500: '#c4cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc4a;
$custom-light: #d9db83;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc4a",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 63.692,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81474,
    "c": 0.15109,
    "h": 112.7
  },
  "luminance": 0.55416
}

Semantic roles & 50–950 ramp

primary
#C4CC4A
secondary
#3D3982
accent
#48DF52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C4CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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