#C4CC3B#C4CC3B

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

Color values

HEX#C4CC3B
RGBrgb(196, 204, 59)
HSLhsl(63, 59%, 52%)
HSVhsv(63, 71%, 80%)
CMYKcmyk(3.9%, 0%, 71.1%, 20%)
CIE-LABlab(79.18, -20.13, 67.10)
CIE-LCHlch(79.18, 70.06, 106.69°)
OKLaboklab(81.36% -0.062 0.1488)
OKLCHoklch(81.36% 0.161 112.6)
XYZxyz(45.1486, 55.2383, 12.4205)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC3B #433BCC
analogous
#CC8B3B #C4CC3B #7CCC3B
triadic
#C4CC3B #3BC4CC #CC3BC4
tetradic
#C4CC3B #3BCC8B #433BCC #CC3B7C
square
#C4CC3B #3BCC8B #433BCC #CC3B7C
split-complementary
#C4CC3B #3B7CCC #8B3BCC
monochromatic
#6B701D #9AA02A #C4CC3B #D3D96C #E1E59C

Accessibility & contrast

On white

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

On black

12.05
#C4CC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC3B
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC3B#FFFFFF#000000##000000
##C4CC3B1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC220
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#D1C0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc3b;
/* rgb */ color: rgb(196, 204, 59);
/* oklch */ color: oklch(81.4% 0.161 112.6);
Tailwind
colors: {
  custom: {
    50: '#d9db7b',
    500: '#c4cc3b',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc3b;
$custom-light: #d9db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc3b",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 59
  },
  "hsl": {
    "h": 63.31,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81359,
    "c": 0.16124,
    "h": 112.6
  },
  "luminance": 0.55237
}

Semantic roles & 50–950 ramp

primary
#C4CC3B
secondary
#363279
accent
#46E24F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4CC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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