#7FB239#7FB239

#7FB239 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.4% C 0.159 H 129.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7FB239
RGBrgb(127, 178, 57)
HSLhsl(85, 51%, 46%)
HSVhsv(85, 68%, 70%)
CMYKcmyk(28.7%, 0%, 68%, 30.2%)
CIE-LABlab(67.01, -35.70, 54.09)
CIE-LCHlch(67.01, 64.81, 123.43°)
OKLaboklab(70.35% -0.1012 0.1229)
OKLCHoklch(70.35% 0.159 129.5)
XYZxyz(25.4112, 36.6475, 9.6050)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB239 #6C39B2
analogous
#B2A839 #7FB239 #43B239
triadic
#7FB239 #397FB2 #B2397F
tetradic
#7FB239 #39B2A8 #6C39B2 #B23943
square
#7FB239 #39B2A8 #6C39B2 #B23943
split-complementary
#7FB239 #3943B2 #A839B2
monochromatic
#3D551B #5E842A #7FB239 #9DCB5D #B9DA8B

Accessibility & contrast

On white

2.52
#7FB239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#7FB239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB239
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB239#FFFFFF#000000##000000
##7FB2391.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA528
Deuteranopia (green-blind)
#B3A243
Tritanopia (blue-blind)
#82AA9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb239;
/* rgb */ color: rgb(127, 178, 57);
/* oklch */ color: oklch(70.4% 0.159 129.5);
Tailwind
colors: {
  custom: {
    50: '#a8c976',
    500: '#7fb239',
    950: '#000000',
  },
}
SCSS
$custom: #7fb239;
$custom-light: #a8c976;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb239",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 85.289,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70351,
    "c": 0.15919,
    "h": 129.5
  },
  "luminance": 0.36648
}

Semantic roles & 50–950 ramp

primary
#7FB239
secondary
#9E82C4
accent
#4DDB89
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB239

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

Preview Lab → · Contrast checker → · Palette generator →

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