#7FB245#7FB245

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

Color values

HEX#7FB245
RGBrgb(127, 178, 69)
HSLhsl(88, 44%, 48%)
HSVhsv(88, 61%, 70%)
CMYKcmyk(28.7%, 0%, 61.2%, 30.2%)
CIE-LABlab(67.11, -34.73, 49.11)
CIE-LCHlch(67.11, 60.15, 125.27°)
OKLaboklab(70.47% -0.0975 0.1139)
OKLCHoklch(70.47% 0.15 130.6)
XYZxyz(25.7467, 36.7818, 11.3721)
Luminance0.3678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB245 #7845B2
analogous
#B2AE45 #7FB245 #48B245
triadic
#7FB245 #457FB2 #B2457F
tetradic
#7FB245 #45B2AE #7845B2 #B24548
square
#7FB245 #45B2AE #7845B2 #B24548
split-complementary
#7FB245 #4548B2 #AE45B2
monochromatic
#405A23 #608634 #7FB245 #9DC76E #BBD89A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB245#FFFFFF#000000##000000
##7FB2451.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)
#BAA639
Deuteranopia (green-blind)
#B2A24D
Tritanopia (blue-blind)
#82AB9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb245;
/* rgb */ color: rgb(127, 178, 69);
/* oklch */ color: oklch(70.5% 0.150 130.6);
Tailwind
colors: {
  custom: {
    50: '#a7c97d',
    500: '#7fb245',
    950: '#000000',
  },
}
SCSS
$custom: #7fb245;
$custom-light: #a7c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb245",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 88.073,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70465,
    "c": 0.14991,
    "h": 130.6
  },
  "luminance": 0.36782
}

Semantic roles & 50–950 ramp

primary
#7FB245
secondary
#A88FC4
accent
#54D490
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB245

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

Preview Lab → · Contrast checker → · Palette generator →

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