#C4CC57#C4CC57

#C4CC57 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.6% C 0.141 H 112.7°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C4CC57
RGBrgb(196, 204, 87)
HSLhsl(64, 53%, 57%)
HSVhsv(64, 57%, 80%)
CMYKcmyk(3.9%, 0%, 57.4%, 20%)
CIE-LABlab(79.39, -18.38, 56.10)
CIE-LCHlch(79.39, 59.03, 108.14°)
OKLaboklab(81.6% -0.0543 0.1297)
OKLCHoklch(81.6% 0.141 112.7)
XYZxyz(46.0792, 55.6105, 17.3215)
Luminance0.5561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC57 #5F57CC
analogous
#CC9A57 #C4CC57 #89CC57
triadic
#C4CC57 #57C4CC #CC57C4
tetradic
#C4CC57 #57CC9A #5F57CC #CC5789
square
#C4CC57 #57CC9A #5F57CC #CC5789
split-complementary
#C4CC57 #5789CC #9A57CC
monochromatic
#7B8127 #A8B036 #C4CC57 #D4DA86 #E5E9B5

Accessibility & contrast

On white

1.73
#C4CC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#C4CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC57
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC57#FFFFFF#000000##000000
##C4CC571.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34A
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#D0C1B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cc57;
/* rgb */ color: rgb(196, 204, 87);
/* oklch */ color: oklch(81.6% 0.141 112.7);
Tailwind
colors: {
  custom: {
    50: '#d8db8b',
    500: '#c4cc57',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc57;
$custom-light: #d8db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc57",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 64.103,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81598,
    "c": 0.14061,
    "h": 112.7
  },
  "luminance": 0.5561
}

Semantic roles & 50–950 ramp

primary
#C4CC57
secondary
#433E89
accent
#4BDD55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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