#7FCA31#7FCA31

#7FCA31 is a light, vivid yellow-green. Relative luminance 0.470; OKLCH L 76.2% C 0.194 H 132.7°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#7FCA31
RGBrgb(127, 202, 49)
HSLhsl(89, 61%, 49%)
HSVhsv(89, 76%, 79%)
CMYKcmyk(37.1%, 0%, 75.7%, 20.8%)
CIE-LABlab(74.17, -46.64, 64.14)
CIE-LCHlch(74.17, 79.30, 126.02°)
OKLaboklab(76.17% -0.1316 0.1427)
OKLCHoklch(76.17% 0.194 132.7)
XYZxyz(30.4269, 46.9735, 10.3687)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCA31 #7C31CA
analogous
#CAC931 #7FCA31 #32CA31
triadic
#7FCA31 #317FCA #CA317F
tetradic
#7FCA31 #31CAC9 #7C31CA #CA3132
square
#7FCA31 #31CAC9 #7C31CA #CA3132
split-complementary
#7FCA31 #3132CA #C931CA
monochromatic
#416719 #609925 #7FCA31 #9DD860 #BCE491

Accessibility & contrast

On white

2.02
#7FCA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#7FCA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCA31
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCA31#FFFFFF#000000##000000
##7FCA311.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fca31;
/* rgb */ color: rgb(127, 202, 49);
/* oklch */ color: oklch(76.2% 0.194 132.7);
Tailwind
colors: {
  custom: {
    50: '#aada74',
    500: '#7fca31',
    950: '#000000',
  },
}
SCSS
$custom: #7fca31;
$custom-light: #aada74;
$custom-dark: #000000;
JSON
{
  "hex": "#7fca31",
  "rgb": {
    "r": 127,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 89.412,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76171,
    "c": 0.19412,
    "h": 132.7
  },
  "luminance": 0.46975
}

Semantic roles & 50–950 ramp

primary
#7FCA31
secondary
#AB88CF
accent
#44E492
background
#FAFDF7
surface
#F5FBED
border
#CFD4C8
text
#111509
muted
#80837B

Preview Lab

Preview with #7FCA31

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

Preview Lab → · Contrast checker → · Palette generator →

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