#7FC338#7FC338

#7FC338 is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 74.5% C 0.182 H 132.2°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7FC338
RGBrgb(127, 195, 56)
HSLhsl(89, 55%, 49%)
HSVhsv(89, 71%, 76%)
CMYKcmyk(34.9%, 0%, 71.3%, 23.5%)
CIE-LABlab(72.11, -43.26, 59.70)
CIE-LCHlch(72.11, 73.73, 125.93°)
OKLaboklab(74.5% -0.1219 0.1345)
OKLCHoklch(74.5% 0.182 132.2)
XYZxyz(28.9810, 43.8266, 10.6730)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC338 #7C38C3
analogous
#C3C238 #7FC338 #39C338
triadic
#7FC338 #387FC3 #C3387F
tetradic
#7FC338 #38C3C2 #7C38C3 #C33839
square
#7FC338 #38C3C2 #7C38C3 #C33839
split-complementary
#7FC338 #3839C3 #C238C3
monochromatic
#41641D #60932A #7FC338 #9DD365 #BCE195

Accessibility & contrast

On white

2.15
#7FC338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#7FC338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC338
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC338#FFFFFF#000000##000000
##7FC3381.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB420
Deuteranopia (green-blind)
#C2AF45
Tritanopia (blue-blind)
#80BBA8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7fc338;
/* rgb */ color: rgb(127, 195, 56);
/* oklch */ color: oklch(74.5% 0.182 132.2);
Tailwind
colors: {
  custom: {
    50: '#a9d577',
    500: '#7fc338',
    950: '#000000',
  },
}
SCSS
$custom: #7fc338;
$custom-light: #a9d577;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc338",
  "rgb": {
    "r": 127,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 89.353,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74502,
    "c": 0.18152,
    "h": 132.2
  },
  "luminance": 0.43828
}

Semantic roles & 50–950 ramp

primary
#7FC338
secondary
#AB8BCC
accent
#49DF92
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#101409
muted
#7F837B

Preview Lab

Preview with #7FC338

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

Preview Lab → · Contrast checker → · Palette generator →

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