#C7CC40#C7CC40

#C7CC40 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.6% C 0.157 H 111.4°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#C7CC40
RGBrgb(199, 204, 64)
HSLhsl(62, 58%, 53%)
HSVhsv(62, 69%, 80%)
CMYKcmyk(2.5%, 0%, 68.6%, 20%)
CIE-LABlab(79.44, -18.62, 65.64)
CIE-LCHlch(79.44, 68.23, 105.84°)
OKLaboklab(81.64% -0.0575 0.1465)
OKLCHoklch(81.64% 0.157 111.4)
XYZxyz(46.0729, 55.6992, 13.1735)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC40 #4540CC
analogous
#CC8B40 #C7CC40 #81CC40
triadic
#C7CC40 #40C7CC #CC40C7
tetradic
#C7CC40 #40CC8B #4540CC #CC4081
square
#C7CC40 #40CC8B #4540CC #CC4081
split-complementary
#C7CC40 #4081CC #8B40CC
monochromatic
#70731F #9FA32C #C7CC40 #D5D970 #E3E6A1

Accessibility & contrast

On white

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

On black

12.14
#C7CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC40
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC40#FFFFFF#000000##000000
##C7CC401.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32A
Deuteranopia (green-blind)
#DCC74A
Tritanopia (blue-blind)
#D4C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc40;
/* rgb */ color: rgb(199, 204, 64);
/* oklch */ color: oklch(81.6% 0.157 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb7d',
    500: '#c7cc40',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc40;
$custom-light: #dbdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc40",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 62.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81638,
    "c": 0.15737,
    "h": 111.4
  },
  "luminance": 0.55698
}

Semantic roles & 50–950 ramp

primary
#C7CC40
secondary
#37347C
accent
#47E14C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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