#7FB545#7FB545

#7FB545 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.2% C 0.154 H 131.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7FB545
RGBrgb(127, 181, 69)
HSLhsl(89, 45%, 49%)
HSVhsv(89, 62%, 71%)
CMYKcmyk(29.8%, 0%, 61.9%, 29%)
CIE-LABlab(68.01, -36.10, 50.11)
CIE-LCHlch(68.01, 61.76, 125.77°)
OKLaboklab(71.2% -0.1013 0.116)
OKLCHoklch(71.2% 0.154 131.1)
XYZxyz(26.3502, 37.9886, 11.5733)
Luminance0.3799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB545 #7B45B5
analogous
#B5B345 #7FB545 #47B545
triadic
#7FB545 #457FB5 #B5457F
tetradic
#7FB545 #45B5B3 #7B45B5 #B54547
square
#7FB545 #45B5B3 #7B45B5 #B54547
split-complementary
#7FB545 #4547B5 #B345B5
monochromatic
#415C23 #608934 #7FB545 #9DC86F #BBD99B

Accessibility & contrast

On white

2.44
#7FB545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#7FB545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB545
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB545#FFFFFF#000000##000000
##7FB5451.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA838
Deuteranopia (green-blind)
#B5A44D
Tritanopia (blue-blind)
#81AE9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fb545;
/* rgb */ color: rgb(127, 181, 69);
/* oklch */ color: oklch(71.2% 0.154 131.1);
Tailwind
colors: {
  custom: {
    50: '#a7cb7d',
    500: '#7fb545',
    950: '#000000',
  },
}
SCSS
$custom: #7fb545;
$custom-light: #a7cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb545",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 88.929,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71196,
    "c": 0.15398,
    "h": 131.1
  },
  "luminance": 0.37989
}

Semantic roles & 50–950 ramp

primary
#7FB545
secondary
#AA91C5
accent
#53D592
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB545

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

Preview Lab → · Contrast checker → · Palette generator →

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