#7CCF31#7CCF31

#7CCF31 is a light, highly saturated yellow-green. Relative luminance 0.491; OKLCH L 77.2% C 0.202 H 133.8°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#7CCF31
RGBrgb(124, 207, 49)
HSLhsl(92, 62%, 50%)
HSVhsv(92, 76%, 81%)
CMYKcmyk(40.1%, 0%, 76.3%, 18.8%)
CIE-LABlab(75.53, -49.70, 65.39)
CIE-LCHlch(75.53, 82.14, 127.24°)
OKLaboklab(77.24% -0.1396 0.1454)
OKLCHoklch(77.24% 0.202 133.8)
XYZxyz(31.1788, 49.1309, 10.7455)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CCF31 #8431CF
analogous
#CBCF31 #7CCF31 #31CF35
triadic
#7CCF31 #317CCF #CF317C
tetradic
#7CCF31 #31CBCF #8431CF #CF3531
square
#7CCF31 #31CBCF #8431CF #CF3531
split-complementary
#7CCF31 #3531CF #CF31CB
monochromatic
#416C19 #5E9E25 #7CCF31 #9CDB63 #BBE694

Accessibility & contrast

On white

1.94
#7CCF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#7CCF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CCF31
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CCF31#FFFFFF#000000##000000
##7CCF311.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE05
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#7BC7B1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #7ccf31;
/* rgb */ color: rgb(124, 207, 49);
/* oklch */ color: oklch(77.2% 0.202 133.8);
Tailwind
colors: {
  custom: {
    50: '#a8de75',
    500: '#7ccf31',
    950: '#000000',
  },
}
SCSS
$custom: #7ccf31;
$custom-light: #a8de75;
$custom-dark: #000000;
JSON
{
  "hex": "#7ccf31",
  "rgb": {
    "r": 124,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 91.519,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77245,
    "c": 0.20162,
    "h": 133.8
  },
  "luminance": 0.49132
}

Semantic roles & 50–950 ramp

primary
#7CCF31
secondary
#B08BD1
accent
#43E598
background
#FAFDF7
surface
#F4FBED
border
#CED4C8
text
#101509
muted
#7F837B

Preview Lab

Preview with #7CCF31

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

Preview Lab → · Contrast checker → · Palette generator →

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