#7FB262#7FB262

#7FB262 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.9% C 0.122 H 135.1°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7FB262
RGBrgb(127, 178, 98)
HSLhsl(98, 34%, 54%)
HSVhsv(98, 45%, 70%)
CMYKcmyk(28.7%, 0%, 44.9%, 30.2%)
CIE-LABlab(67.45, -31.52, 35.51)
CIE-LCHlch(67.45, 47.48, 131.60°)
OKLaboklab(70.85% -0.0866 0.0864)
OKLCHoklch(70.85% 0.122 135.1)
XYZxyz(26.8768, 37.2338, 17.3237)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB262 #9562B2
analogous
#A7B262 #7FB262 #62B26D
triadic
#7FB262 #627FB2 #B2627F
tetradic
#7FB262 #62A7B2 #9562B2 #B26D62
square
#7FB262 #62A7B2 #9562B2 #B26D62
split-complementary
#7FB262 #6D62B2 #B262A7
monochromatic
#466733 #619047 #7FB262 #A0C68B #C2DAB4

Accessibility & contrast

On white

2.49
#7FB262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#7FB262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB262
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB262#FFFFFF#000000##000000
##7FB2621.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A75C
Deuteranopia (green-blind)
#B0A367
Tritanopia (blue-blind)
#7FAD9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb262;
/* rgb */ color: rgb(127, 178, 98);
/* oklch */ color: oklch(70.9% 0.122 135.1);
Tailwind
colors: {
  custom: {
    50: '#a6c990',
    500: '#7fb262',
    950: '#000000',
  },
}
SCSS
$custom: #7fb262;
$custom-light: #a6c990;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb262",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 98.25,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7085,
    "c": 0.12232,
    "h": 135.1
  },
  "luminance": 0.37235
}

Semantic roles & 50–950 ramp

primary
#7FB262
secondary
#BDA7C9
accent
#5ECAA3
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7FB262

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

Preview Lab → · Contrast checker → · Palette generator →

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