#7FB246#7FB246

#7FB246 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.5% C 0.149 H 130.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7FB246
RGBrgb(127, 178, 70)
HSLhsl(88, 44%, 49%)
HSVhsv(88, 61%, 70%)
CMYKcmyk(28.7%, 0%, 60.7%, 30.2%)
CIE-LABlab(67.12, -34.64, 48.67)
CIE-LCHlch(67.12, 59.74, 125.44°)
OKLaboklab(70.48% -0.0972 0.113)
OKLCHoklch(70.48% 0.149 130.7)
XYZxyz(25.7780, 36.7943, 11.5370)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB246 #7946B2
analogous
#B2AF46 #7FB246 #49B246
triadic
#7FB246 #467FB2 #B2467F
tetradic
#7FB246 #46B2AF #7946B2 #B24649
square
#7FB246 #46B2AF #7946B2 #B24649
split-complementary
#7FB246 #4649B2 #AF46B2
monochromatic
#405A23 #608635 #7FB246 #9DC66F #BBD89B

Accessibility & contrast

On white

2.51
#7FB246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#7FB246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB246
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB246#FFFFFF#000000##000000
##7FB2461.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63A
Deuteranopia (green-blind)
#B2A24E
Tritanopia (blue-blind)
#81AB9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb246;
/* rgb */ color: rgb(127, 178, 70);
/* oklch */ color: oklch(70.5% 0.149 130.7);
Tailwind
colors: {
  custom: {
    50: '#a7c97e',
    500: '#7fb246',
    950: '#000000',
  },
}
SCSS
$custom: #7fb246;
$custom-light: #a7c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb246",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 88.333,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70476,
    "c": 0.14907,
    "h": 130.7
  },
  "luminance": 0.36795
}

Semantic roles & 50–950 ramp

primary
#7FB246
secondary
#A890C4
accent
#55D390
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB246

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

Preview Lab → · Contrast checker → · Palette generator →

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