#7FB538#7FB538

#7FB538 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.1% C 0.164 H 130.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7FB538
RGBrgb(127, 181, 56)
HSLhsl(86, 53%, 46%)
HSVhsv(86, 69%, 71%)
CMYKcmyk(29.8%, 0%, 69.1%, 29%)
CIE-LABlab(67.91, -37.13, 55.42)
CIE-LCHlch(67.91, 66.70, 123.82°)
OKLaboklab(71.08% -0.1052 0.1255)
OKLCHoklch(71.08% 0.164 130)
XYZxyz(25.9899, 37.8445, 9.6760)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB538 #6E38B5
analogous
#B5AD38 #7FB538 #41B538
triadic
#7FB538 #387FB5 #B5387F
tetradic
#7FB538 #38B5AD #6E38B5 #B53841
square
#7FB538 #38B5AD #6E38B5 #B53841
split-complementary
#7FB538 #3841B5 #AD38B5
monochromatic
#3D581B #5E862A #7FB538 #9DCD5D #B9DB8C

Accessibility & contrast

On white

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

On black

8.57
#7FB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB538
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB538#FFFFFF#000000##000000
##7FB5381.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA825
Deuteranopia (green-blind)
#B6A443
Tritanopia (blue-blind)
#82AD9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fb538;
/* rgb */ color: rgb(127, 181, 56);
/* oklch */ color: oklch(71.1% 0.164 130.0);
Tailwind
colors: {
  custom: {
    50: '#a8cb76',
    500: '#7fb538',
    950: '#000000',
  },
}
SCSS
$custom: #7fb538;
$custom-light: #a8cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb538",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 85.92,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71075,
    "c": 0.16376,
    "h": 130
  },
  "luminance": 0.37845
}

Semantic roles & 50–950 ramp

primary
#7FB538
secondary
#A083C6
accent
#4CDC8A
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB538

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

Preview Lab → · Contrast checker → · Palette generator →

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