#7FBA37#7FBA37

#7FBA37 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.3% C 0.171 H 130.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7FBA37
RGBrgb(127, 186, 55)
HSLhsl(87, 54%, 47%)
HSVhsv(87, 70%, 73%)
CMYKcmyk(31.7%, 0%, 70.4%, 27.1%)
CIE-LABlab(69.40, -39.42, 57.33)
CIE-LCHlch(69.40, 69.58, 124.51°)
OKLaboklab(72.29% -0.1115 0.1294)
OKLCHoklch(72.29% 0.171 130.8)
XYZxyz(27.0007, 39.9048, 9.8935)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBA37 #7237BA
analogous
#BAB437 #7FBA37 #3DBA37
triadic
#7FBA37 #377FBA #BA377F
tetradic
#7FBA37 #37BAB4 #7237BA #BA373D
square
#7FBA37 #37BAB4 #7237BA #BA373D
split-complementary
#7FBA37 #373DBA #B437BA
monochromatic
#3E5C1B #5F8B29 #7FBA37 #9DD05F #BADE8E

Accessibility & contrast

On white

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

On black

8.98
#7FBA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBA37
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBA37#FFFFFF#000000##000000
##7FBA371.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fba37;
/* rgb */ color: rgb(127, 186, 55);
/* oklch */ color: oklch(72.3% 0.171 130.8);
Tailwind
colors: {
  custom: {
    50: '#a8cf76',
    500: '#7fba37',
    950: '#000000',
  },
}
SCSS
$custom: #7fba37;
$custom-light: #a8cf76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fba37",
  "rgb": {
    "r": 127,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 87.023,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7229,
    "c": 0.17081,
    "h": 130.8
  },
  "luminance": 0.39906
}

Semantic roles & 50–950 ramp

primary
#7FBA37
secondary
#A385C8
accent
#4ADE8D
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7FBA37

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

Preview Lab → · Contrast checker → · Palette generator →

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