#7FB45A#7FB45A

#7FB45A is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.2% C 0.133 H 133.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#7FB45A
RGBrgb(127, 180, 90)
HSLhsl(95, 38%, 53%)
HSVhsv(95, 50%, 71%)
CMYKcmyk(29.4%, 0%, 50%, 29.4%)
CIE-LABlab(67.94, -33.46, 40.15)
CIE-LCHlch(67.94, 52.26, 129.81°)
OKLaboklab(71.21% -0.0924 0.0963)
OKLCHoklch(71.21% 0.133 133.8)
XYZxyz(26.9186, 37.8918, 15.5665)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB45A #8F5AB4
analogous
#ACB45A #7FB45A #5AB462
triadic
#7FB45A #5A7FB4 #B45A7F
tetradic
#7FB45A #5AACB4 #8F5AB4 #B4625A
square
#7FB45A #5AACB4 #8F5AB4 #B4625A
split-complementary
#7FB45A #625AB4 #B45AAC
monochromatic
#45652E #619041 #7FB45A #A0C784 #C0DAAE

Accessibility & contrast

On white

2.45
#7FB45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#7FB45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB45A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB45A#FFFFFF#000000##000000
##7FB45A1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA852
Deuteranopia (green-blind)
#B2A460
Tritanopia (blue-blind)
#7FAE9F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fb45a;
/* rgb */ color: rgb(127, 180, 90);
/* oklch */ color: oklch(71.2% 0.133 133.8);
Tailwind
colors: {
  custom: {
    50: '#a6ca8b',
    500: '#7fb45a',
    950: '#000000',
  },
}
SCSS
$custom: #7fb45a;
$custom-light: #a6ca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb45a",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 90
  },
  "hsl": {
    "h": 95.333,
    "s": 37.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.71211,
    "c": 0.13347,
    "h": 133.8
  },
  "luminance": 0.37893
}

Semantic roles & 50–950 ramp

primary
#7FB45A
secondary
#B8A1C8
accent
#5ACD9E
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #7FB45A

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

Preview Lab → · Contrast checker → · Palette generator →

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