#C7CC47#C7CC47

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

Color values

HEX#C7CC47
RGBrgb(199, 204, 71)
HSLhsl(62, 57%, 54%)
HSVhsv(62, 65%, 80%)
CMYKcmyk(2.5%, 0%, 65.2%, 20%)
CIE-LABlab(79.49, -18.23, 63.00)
CIE-LCHlch(79.49, 65.59, 106.13°)
OKLaboklab(81.69% -0.0557 0.1421)
OKLCHoklch(81.69% 0.153 111.4)
XYZxyz(46.2848, 55.7839, 14.2892)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC47 #4C47CC
analogous
#CC8F47 #C7CC47 #85CC47
triadic
#C7CC47 #47C7CC #CC47C7
tetradic
#C7CC47 #47CC8F #4C47CC #CC4785
square
#C7CC47 #47CC8F #4C47CC #CC4785
split-complementary
#C7CC47 #4785CC #8F47CC
monochromatic
#747721 #A3A72E #C7CC47 #D6D977 #E4E7A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CC47#FFFFFF#000000##000000
##C7CC471.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)
#DBC335
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#D4C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc47;
/* rgb */ color: rgb(199, 204, 71);
/* oklch */ color: oklch(81.7% 0.153 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb81',
    500: '#c7cc47',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc47;
$custom-light: #dbdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc47",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 62.256,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81692,
    "c": 0.15258,
    "h": 111.4
  },
  "luminance": 0.55783
}

Semantic roles & 50–950 ramp

primary
#C7CC47
secondary
#3A3780
accent
#48E04E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CC47

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

Preview Lab → · Contrast checker → · Palette generator →

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