#7CCA31#7CCA31

#7CCA31 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.0% C 0.196 H 133.3°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7CCA31
RGBrgb(124, 202, 49)
HSLhsl(91, 61%, 49%)
HSVhsv(91, 76%, 79%)
CMYKcmyk(38.6%, 0%, 75.7%, 20.8%)
CIE-LABlab(74.03, -47.67, 63.95)
CIE-LCHlch(74.03, 79.76, 126.70°)
OKLaboklab(76.01% -0.1342 0.1424)
OKLCHoklch(76.01% 0.196 133.3)
XYZxyz(29.9866, 46.7465, 10.3481)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CCA31 #7F31CA
analogous
#C9CA31 #7CCA31 #31CA32
triadic
#7CCA31 #317CCA #CA317C
tetradic
#7CCA31 #31C9CA #7F31CA #CA3231
square
#7CCA31 #31C9CA #7F31CA #CA3231
split-complementary
#7CCA31 #3231CA #CA31C9
monochromatic
#406719 #5E9925 #7CCA31 #9BD860 #BAE491

Accessibility & contrast

On white

2.03
#7CCA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#7CCA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CCA31
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CCA31#FFFFFF#000000##000000
##7CCA311.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0A
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#7CC2AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7cca31;
/* rgb */ color: rgb(124, 202, 49);
/* oklch */ color: oklch(76.0% 0.196 133.3);
Tailwind
colors: {
  custom: {
    50: '#a8da74',
    500: '#7cca31',
    950: '#000000',
  },
}
SCSS
$custom: #7cca31;
$custom-light: #a8da74;
$custom-dark: #000000;
JSON
{
  "hex": "#7cca31",
  "rgb": {
    "r": 124,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 90.588,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76013,
    "c": 0.19564,
    "h": 133.3
  },
  "luminance": 0.46748
}

Semantic roles & 50–950 ramp

primary
#7CCA31
secondary
#AC88CF
accent
#44E495
background
#FAFDF7
surface
#F4FBED
border
#CED4C8
text
#101509
muted
#7F837B

Preview Lab

Preview with #7CCA31

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

Preview Lab → · Contrast checker → · Palette generator →

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