#C7CC35#C7CC35

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

Color values

HEX#C7CC35
RGBrgb(199, 204, 53)
HSLhsl(62, 60%, 50%)
HSVhsv(62, 74%, 80%)
CMYKcmyk(2.5%, 0%, 74%, 20%)
CIE-LABlab(79.38, -19.14, 69.40)
CIE-LCHlch(79.38, 71.99, 105.42°)
OKLaboklab(81.57% -0.06 0.1526)
OKLCHoklch(81.57% 0.164 111.5)
XYZxyz(45.7902, 55.5861, 11.6846)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC35 #3A35CC
analogous
#CC8635 #C7CC35 #7BCC35
triadic
#C7CC35 #35C7CC #CC35C7
tetradic
#C7CC35 #35CC86 #3A35CC #CC357B
square
#C7CC35 #35CC86 #3A35CC #CC357B
split-complementary
#C7CC35 #357BCC #8635CC
monochromatic
#696B1B #989C27 #C7CC35 #D5D866 #E2E597

Accessibility & contrast

On white

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

On black

12.12
#C7CC35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC35
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC35#FFFFFF#000000##000000
##C7CC351.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC312
Deuteranopia (green-blind)
#DDC642
Tritanopia (blue-blind)
#D5BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc35;
/* rgb */ color: rgb(199, 204, 53);
/* oklch */ color: oklch(81.6% 0.164 111.5);
Tailwind
colors: {
  custom: {
    50: '#dcdb78',
    500: '#c7cc35',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc35;
$custom-light: #dcdb78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc35",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 53
  },
  "hsl": {
    "h": 61.987,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81565,
    "c": 0.16393,
    "h": 111.5
  },
  "luminance": 0.55585
}

Semantic roles & 50–950 ramp

primary
#C7CC35
secondary
#323075
accent
#45E34A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CC35

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

Preview Lab → · Contrast checker → · Palette generator →

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