#C7CC4A#C7CC4A

#C7CC4A is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.150 H 111.4°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#C7CC4A
RGBrgb(199, 204, 74)
HSLhsl(62, 56%, 55%)
HSVhsv(62, 64%, 80%)
CMYKcmyk(2.5%, 0%, 63.7%, 20%)
CIE-LABlab(79.51, -18.04, 61.82)
CIE-LCHlch(79.51, 64.40, 106.27°)
OKLaboklab(81.72% -0.0549 0.14)
OKLCHoklch(81.72% 0.15 111.4)
XYZxyz(46.3834, 55.8234, 14.8089)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC4A #4F4ACC
analogous
#CC904A #C7CC4A #86CC4A
triadic
#C7CC4A #4AC7CC #CC4AC7
tetradic
#C7CC4A #4ACC90 #4F4ACC #CC4A86
square
#C7CC4A #4ACC90 #4F4ACC #CC4A86
split-complementary
#C7CC4A #4A86CC #904ACC
monochromatic
#767922 #A4A930 #C7CC4A #D6D97A #E5E7A9

Accessibility & contrast

On white

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

On black

12.16
#C7CC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC4A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC4A#FFFFFF#000000##000000
##C7CC4A1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC339
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#D4C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc4a;
/* rgb */ color: rgb(199, 204, 74);
/* oklch */ color: oklch(81.7% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb83',
    500: '#c7cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc4a;
$custom-light: #dbdb83;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc4a",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 62.308,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81717,
    "c": 0.1504,
    "h": 111.4
  },
  "luminance": 0.55822
}

Semantic roles & 50–950 ramp

primary
#C7CC4A
secondary
#3B3982
accent
#48DF4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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