#C7CC33#C7CC33

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

Color values

HEX#C7CC33
RGBrgb(199, 204, 51)
HSLhsl(62, 60%, 50%)
HSVhsv(62, 75%, 80%)
CMYKcmyk(2.5%, 0%, 75%, 20%)
CIE-LABlab(79.37, -19.23, 70.03)
CIE-LCHlch(79.37, 72.62, 105.35°)
OKLaboklab(81.55% -0.0604 0.1535)
OKLCHoklch(81.55% 0.165 111.5)
XYZxyz(45.7452, 55.5681, 11.4473)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC33 #3833CC
analogous
#CC8533 #C7CC33 #7ACC33
triadic
#C7CC33 #33C7CC #CC33C7
tetradic
#C7CC33 #33CC85 #3833CC #CC337A
square
#C7CC33 #33CC85 #3833CC #CC337A
split-complementary
#C7CC33 #337ACC #8533CC
monochromatic
#676A1B #979B27 #C7CC33 #D4D864 #E2E495

Accessibility & contrast

On white

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

On black

12.11
#C7CC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC33
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC33#FFFFFF#000000##000000
##C7CC331.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cc33;
/* rgb */ color: rgb(199, 204, 51);
/* oklch */ color: oklch(81.6% 0.165 111.5);
Tailwind
colors: {
  custom: {
    50: '#dcdb77',
    500: '#c7cc33',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc33;
$custom-light: #dcdb77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc33",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 51
  },
  "hsl": {
    "h": 61.961,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.81554,
    "c": 0.16499,
    "h": 111.5
  },
  "luminance": 0.55567
}

Semantic roles & 50–950 ramp

primary
#C7CC33
secondary
#322F74
accent
#45E34A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7CC33

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

Preview Lab → · Contrast checker → · Palette generator →

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