#C7CC45#C7CC45

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

Color values

HEX#C7CC45
RGBrgb(199, 204, 69)
HSLhsl(62, 57%, 54%)
HSVhsv(62, 66%, 80%)
CMYKcmyk(2.5%, 0%, 66.2%, 20%)
CIE-LABlab(79.48, -18.34, 63.77)
CIE-LCHlch(79.48, 66.36, 106.05°)
OKLaboklab(81.68% -0.0562 0.1434)
OKLCHoklch(81.68% 0.154 111.4)
XYZxyz(46.2216, 55.7586, 13.9567)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC45 #4A45CC
analogous
#CC8D45 #C7CC45 #83CC45
triadic
#C7CC45 #45C7CC #CC45C7
tetradic
#C7CC45 #45CC8D #4A45CC #CC4583
square
#C7CC45 #45CC8D #4A45CC #CC4583
split-complementary
#C7CC45 #4583CC #8D45CC
monochromatic
#737620 #A2A62E #C7CC45 #D5D975 #E4E6A5

Accessibility & contrast

On white

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

On black

12.15
#C7CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC45
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC45#FFFFFF#000000##000000
##C7CC451.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cc45;
/* rgb */ color: rgb(199, 204, 69);
/* oklch */ color: oklch(81.7% 0.154 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb80',
    500: '#c7cc45',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc45;
$custom-light: #dbdb80;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc45",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 62.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81676,
    "c": 0.15401,
    "h": 111.4
  },
  "luminance": 0.55758
}

Semantic roles & 50–950 ramp

primary
#C7CC45
secondary
#39367F
accent
#48E04D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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