#7FBA38#7FBA38

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

Color values

HEX#7FBA38
RGBrgb(127, 186, 56)
HSLhsl(87, 54%, 47%)
HSVhsv(87, 70%, 73%)
CMYKcmyk(31.7%, 0%, 69.9%, 27.1%)
CIE-LABlab(69.41, -39.36, 56.96)
CIE-LCHlch(69.41, 69.23, 124.64°)
OKLaboklab(72.3% -0.1113 0.1287)
OKLCHoklch(72.3% 0.17 130.8)
XYZxyz(27.0249, 39.9145, 10.0210)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBA38 #7338BA
analogous
#BAB438 #7FBA38 #3EBA38
triadic
#7FBA38 #387FBA #BA387F
tetradic
#7FBA38 #38BAB4 #7338BA #BA383E
square
#7FBA38 #38BAB4 #7338BA #BA383E
split-complementary
#7FBA38 #383EBA #B438BA
monochromatic
#3F5C1C #5F8B2A #7FBA38 #9DCF60 #BADD8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FBA38#FFFFFF#000000##000000
##7FBA381.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)
#C2AC23
Deuteranopia (green-blind)
#BAA843
Tritanopia (blue-blind)
#82B2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fba38;
/* rgb */ color: rgb(127, 186, 56);
/* oklch */ color: oklch(72.3% 0.170 130.8);
Tailwind
colors: {
  custom: {
    50: '#a8cf76',
    500: '#7fba38',
    950: '#000000',
  },
}
SCSS
$custom: #7fba38;
$custom-light: #a8cf76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fba38",
  "rgb": {
    "r": 127,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 87.231,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72298,
    "c": 0.17016,
    "h": 130.8
  },
  "luminance": 0.39915
}

Semantic roles & 50–950 ramp

primary
#7FBA38
secondary
#A486C8
accent
#4BDD8D
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7FBA38

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

Preview Lab → · Contrast checker → · Palette generator →

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