#7FB256#7FB256

#7FB256 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.7% C 0.134 H 132.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7FB256
RGBrgb(127, 178, 86)
HSLhsl(93, 37%, 52%)
HSVhsv(93, 52%, 70%)
CMYKcmyk(28.7%, 0%, 51.7%, 30.2%)
CIE-LABlab(67.30, -33.00, 41.34)
CIE-LCHlch(67.30, 52.89, 128.60°)
OKLaboklab(70.67% -0.0914 0.0986)
OKLCHoklch(70.67% 0.134 132.8)
XYZxyz(26.3521, 37.0239, 14.5602)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB256 #8956B2
analogous
#ADB256 #7FB256 #56B25B
triadic
#7FB256 #567FB2 #B2567F
tetradic
#7FB256 #56ADB2 #8956B2 #B25B56
square
#7FB256 #56ADB2 #8956B2 #B25B56
split-complementary
#7FB256 #5B56B2 #B256AD
monochromatic
#44612C #618B3F #7FB256 #9FC580 #BFD8AA

Accessibility & contrast

On white

2.50
#7FB256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#7FB256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB256
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB256#FFFFFF#000000##000000
##7FB2561.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64E
Deuteranopia (green-blind)
#B1A25C
Tritanopia (blue-blind)
#80AC9D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb256;
/* rgb */ color: rgb(127, 178, 86);
/* oklch */ color: oklch(70.7% 0.134 132.8);
Tailwind
colors: {
  custom: {
    50: '#a6c988',
    500: '#7fb256',
    950: '#000000',
  },
}
SCSS
$custom: #7fb256;
$custom-light: #a6c988;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb256",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 93.261,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70672,
    "c": 0.13448,
    "h": 132.8
  },
  "luminance": 0.37025
}

Semantic roles & 50–950 ramp

primary
#7FB256
secondary
#B49EC6
accent
#5ACD9A
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB256

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

Preview Lab → · Contrast checker → · Palette generator →

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