#7CCC31#7CCC31

#7CCC31 is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 76.5% C 0.198 H 133.5°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7CCC31
RGBrgb(124, 204, 49)
HSLhsl(91, 61%, 50%)
HSVhsv(91, 76%, 80%)
CMYKcmyk(39.2%, 0%, 76%, 20%)
CIE-LABlab(74.63, -48.49, 64.53)
CIE-LCHlch(74.63, 80.71, 126.92°)
OKLaboklab(76.51% -0.1364 0.1436)
OKLCHoklch(76.51% 0.198 133.5)
XYZxyz(30.4589, 47.6911, 10.5055)
Luminance0.4769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CCC31 #8131CC
analogous
#CACC31 #7CCC31 #31CC34
triadic
#7CCC31 #317CCC #CC317C
tetradic
#7CCC31 #31CACC #8131CC #CC3431
square
#7CCC31 #31CACC #8131CC #CC3431
split-complementary
#7CCC31 #3431CC #CC31CA
monochromatic
#406919 #5E9B25 #7CCC31 #9BD961 #BAE592

Accessibility & contrast

On white

1.99
#7CCC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#7CCC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CCC31
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CCC31#FFFFFF#000000##000000
##7CCC311.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC08
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#7CC4AF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7ccc31;
/* rgb */ color: rgb(124, 204, 49);
/* oklch */ color: oklch(76.5% 0.198 133.5);
Tailwind
colors: {
  custom: {
    50: '#a8dc75',
    500: '#7ccc31',
    950: '#000000',
  },
}
SCSS
$custom: #7ccc31;
$custom-light: #a8dc75;
$custom-dark: #000000;
JSON
{
  "hex": "#7ccc31",
  "rgb": {
    "r": 124,
    "g": 204,
    "b": 49
  },
  "hsl": {
    "h": 90.968,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76506,
    "c": 0.19804,
    "h": 133.5
  },
  "luminance": 0.47693
}

Semantic roles & 50–950 ramp

primary
#7CCC31
secondary
#AE89D0
accent
#43E496
background
#FAFDF7
surface
#F4FBED
border
#CED4C8
text
#101509
muted
#7F837B

Preview Lab

Preview with #7CCC31

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

Preview Lab → · Contrast checker → · Palette generator →

#7CCC31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva