#7FBA30#7FBA30

#7FBA30 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.2% C 0.175 H 130.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7FBA30
RGBrgb(127, 186, 48)
HSLhsl(86, 59%, 46%)
HSVhsv(86, 74%, 73%)
CMYKcmyk(31.7%, 0%, 74.2%, 27.1%)
CIE-LABlab(69.36, -39.87, 59.82)
CIE-LCHlch(69.36, 71.88, 123.68°)
OKLaboklab(72.24% -0.1133 0.1335)
OKLCHoklch(72.24% 0.175 130.3)
XYZxyz(26.8446, 39.8424, 9.0717)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBA30 #6B30BA
analogous
#BAB030 #7FBA30 #3ABA30
triadic
#7FBA30 #307FBA #BA307F
tetradic
#7FBA30 #30BAB0 #6B30BA #BA303A
square
#7FBA30 #30BAB0 #6B30BA #BA303A
split-complementary
#7FBA30 #303ABA #B030BA
monochromatic
#3D5917 #5E8923 #7FBA30 #9DD354 #B9DF85

Accessibility & contrast

On white

2.34
#7FBA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#7FBA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBA30
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBA30#FFFFFF#000000##000000
##7FBA301.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC13
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#82B2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fba30;
/* rgb */ color: rgb(127, 186, 48);
/* oklch */ color: oklch(72.2% 0.175 130.3);
Tailwind
colors: {
  custom: {
    50: '#a9cf72',
    500: '#7fba30',
    950: '#000000',
  },
}
SCSS
$custom: #7fba30;
$custom-light: #a9cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#7fba30",
  "rgb": {
    "r": 127,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 85.652,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72239,
    "c": 0.17511,
    "h": 130.3
  },
  "luminance": 0.39843
}

Semantic roles & 50–950 ramp

primary
#7FBA30
secondary
#9D7DC9
accent
#46E289
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #7FBA30

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

Preview Lab → · Contrast checker → · Palette generator →

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