#7FC238#7FC238

#7FC238 is a light, vivid yellow-green. Relative luminance 0.434; OKLCH L 74.3% C 0.180 H 132.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7FC238
RGBrgb(127, 194, 56)
HSLhsl(89, 55%, 49%)
HSVhsv(89, 71%, 76%)
CMYKcmyk(34.5%, 0%, 71.1%, 23.9%)
CIE-LABlab(71.81, -42.83, 59.40)
CIE-LCHlch(71.81, 73.23, 125.80°)
OKLaboklab(74.26% -0.1207 0.1338)
OKLCHoklch(74.26% 0.18 132.1)
XYZxyz(28.7577, 43.3800, 10.5986)
Luminance0.4338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC238 #7B38C2
analogous
#C2C038 #7FC238 #3AC238
triadic
#7FC238 #387FC2 #C2387F
tetradic
#7FC238 #38C2C0 #7B38C2 #C2383A
square
#7FC238 #38C2C0 #7B38C2 #C2383A
split-complementary
#7FC238 #383AC2 #C038C2
monochromatic
#41631D #60932A #7FC238 #9DD265 #BBE094

Accessibility & contrast

On white

2.17
#7FC238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#7FC238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC238
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC238#FFFFFF#000000##000000
##7FC2381.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB320
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#81BAA7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7fc238;
/* rgb */ color: rgb(127, 194, 56);
/* oklch */ color: oklch(74.3% 0.180 132.1);
Tailwind
colors: {
  custom: {
    50: '#a9d577',
    500: '#7fc238',
    950: '#000000',
  },
}
SCSS
$custom: #7fc238;
$custom-light: #a9d577;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc238",
  "rgb": {
    "r": 127,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 89.13,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74257,
    "c": 0.18026,
    "h": 132.1
  },
  "luminance": 0.43381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FC238

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

Preview Lab → · Contrast checker → · Palette generator →

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