#7FBA3F#7FBA3F

#7FBA3F is a light, vivid yellow-green. Relative luminance 0.400; OKLCH L 72.4% C 0.165 H 131.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7FBA3F
RGBrgb(127, 186, 63)
HSLhsl(89, 49%, 49%)
HSVhsv(89, 66%, 73%)
CMYKcmyk(31.7%, 0%, 66.1%, 27.1%)
CIE-LABlab(69.46, -38.84, 54.24)
CIE-LCHlch(69.46, 66.71, 125.61°)
OKLaboklab(72.36% -0.1093 0.124)
OKLCHoklch(72.36% 0.165 131.4)
XYZxyz(27.2082, 39.9878, 10.9865)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBA3F #7A3FBA
analogous
#BAB83F #7FBA3F #42BA3F
triadic
#7FBA3F #3F7FBA #BA3F7F
tetradic
#7FBA3F #3FBAB8 #7A3FBA #BA3F42
square
#7FBA3F #3FBAB8 #7A3FBA #BA3F42
split-complementary
#7FBA3F #3F42BA #B83FBA
monochromatic
#415F20 #608C30 #7FBA3F #9DCC6A #BBDC97

Accessibility & contrast

On white

2.33
#7FBA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#7FBA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBA3F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBA3F#FFFFFF#000000##000000
##7FBA3F1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2E
Deuteranopia (green-blind)
#BAA849
Tritanopia (blue-blind)
#81B2A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7fba3f;
/* rgb */ color: rgb(127, 186, 63);
/* oklch */ color: oklch(72.4% 0.165 131.4);
Tailwind
colors: {
  custom: {
    50: '#a8cf7a',
    500: '#7fba3f',
    950: '#000000',
  },
}
SCSS
$custom: #7fba3f;
$custom-light: #a8cf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fba3f",
  "rgb": {
    "r": 127,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 88.78,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72357,
    "c": 0.16527,
    "h": 131.4
  },
  "luminance": 0.39989
}

Semantic roles & 50–950 ramp

primary
#7FBA3F
secondary
#A98DC8
accent
#4FD991
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7FBA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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