#C7CC4E#C7CC4E

#C7CC4E is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.147 H 111.4°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#C7CC4E
RGBrgb(199, 204, 78)
HSLhsl(62, 55%, 55%)
HSVhsv(62, 62%, 80%)
CMYKcmyk(2.5%, 0%, 61.8%, 20%)
CIE-LABlab(79.54, -17.79, 60.21)
CIE-LCHlch(79.54, 62.78, 106.46°)
OKLaboklab(81.75% -0.0538 0.1372)
OKLCHoklch(81.75% 0.147 111.4)
XYZxyz(46.5225, 55.8790, 15.5413)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC4E #534ECC
analogous
#CC924E #C7CC4E #88CC4E
triadic
#C7CC4E #4EC7CC #CC4EC7
tetradic
#C7CC4E #4ECC92 #534ECC #CC4E88
square
#C7CC4E #4ECC92 #534ECC #CC4E88
split-complementary
#C7CC4E #4E88CC #924ECC
monochromatic
#787C24 #A7AB31 #C7CC4E #D6DA7E #E5E7AD

Accessibility & contrast

On white

1.72
#C7CC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#C7CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC4E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC4E#FFFFFF#000000##000000
##C7CC4E1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33E
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#D4C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc4e;
/* rgb */ color: rgb(199, 204, 78);
/* oklch */ color: oklch(81.8% 0.147 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb85',
    500: '#c7cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc4e;
$custom-light: #dbdb85;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc4e",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 62.381,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81753,
    "c": 0.14735,
    "h": 111.4
  },
  "luminance": 0.55878
}

Semantic roles & 50–950 ramp

primary
#C7CC4E
secondary
#3D3A84
accent
#49DF4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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