#C7CC34#C7CC34

#C7CC34 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#C7CC34
RGBrgb(199, 204, 52)
HSLhsl(62, 60%, 50%)
HSVhsv(62, 75%, 80%)
CMYKcmyk(2.5%, 0%, 74.5%, 20%)
CIE-LABlab(79.37, -19.19, 69.72)
CIE-LCHlch(79.37, 72.31, 105.39°)
OKLaboklab(81.56% -0.0602 0.1531)
OKLCHoklch(81.56% 0.164 111.5)
XYZxyz(45.7675, 55.5770, 11.5647)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC34 #3934CC
analogous
#CC8534 #C7CC34 #7BCC34
triadic
#C7CC34 #34C7CC #CC34C7
tetradic
#C7CC34 #34CC85 #3934CC #CC347B
square
#C7CC34 #34CC85 #3934CC #CC347B
split-complementary
#C7CC34 #347BCC #8534CC
monochromatic
#686B1B #989C27 #C7CC34 #D4D865 #E2E596

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CC34#FFFFFF#000000##000000
##C7CC341.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)
#DCC30F
Deuteranopia (green-blind)
#DDC641
Tritanopia (blue-blind)
#D5BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc34;
/* rgb */ color: rgb(199, 204, 52);
/* oklch */ color: oklch(81.6% 0.164 111.5);
Tailwind
colors: {
  custom: {
    50: '#dcdb77',
    500: '#c7cc34',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc34;
$custom-light: #dcdb77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc34",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 52
  },
  "hsl": {
    "h": 61.974,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.8156,
    "c": 0.16446,
    "h": 111.5
  },
  "luminance": 0.55576
}

Semantic roles & 50–950 ramp

primary
#C7CC34
secondary
#323074
accent
#45E34A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #C7CC34

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

Preview Lab → · Contrast checker → · Palette generator →

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