#C7CC3A#C7CC3A

#C7CC3A is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.6% C 0.161 H 111.5°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#C7CC3A
RGBrgb(199, 204, 58)
HSLhsl(62, 59%, 51%)
HSVhsv(62, 72%, 80%)
CMYKcmyk(2.5%, 0%, 71.6%, 20%)
CIE-LABlab(79.41, -18.92, 67.75)
CIE-LCHlch(79.41, 70.34, 105.60°)
OKLaboklab(81.6% -0.0589 0.1499)
OKLCHoklch(81.6% 0.161 111.5)
XYZxyz(45.9113, 55.6345, 12.3222)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC3A #3F3ACC
analogous
#CC883A #C7CC3A #7ECC3A
triadic
#C7CC3A #3AC7CC #CC3AC7
tetradic
#C7CC3A #3ACC88 #3F3ACC #CC3A7E
square
#C7CC3A #3ACC88 #3F3ACC #CC3A7E
split-complementary
#C7CC3A #3A7ECC #883ACC
monochromatic
#6C6F1D #9BA029 #C7CC3A #D5D96B #E3E59B

Accessibility & contrast

On white

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

On black

12.13
#C7CC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC3A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC3A#FFFFFF#000000##000000
##C7CC3A1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31E
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#D5BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc3a;
/* rgb */ color: rgb(199, 204, 58);
/* oklch */ color: oklch(81.6% 0.161 111.5);
Tailwind
colors: {
  custom: {
    50: '#dcdb7a',
    500: '#c7cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc3a;
$custom-light: #dcdb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc3a",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 62.055,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81596,
    "c": 0.16109,
    "h": 111.5
  },
  "luminance": 0.55633
}

Semantic roles & 50–950 ramp

primary
#C7CC3A
secondary
#343278
accent
#46E24B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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