#7FBC2F#7FBC2F

#7FBC2F is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 72.7% C 0.178 H 130.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7FBC2F
RGBrgb(127, 188, 47)
HSLhsl(86, 60%, 46%)
HSVhsv(86, 75%, 74%)
CMYKcmyk(32.4%, 0%, 75%, 26.3%)
CIE-LABlab(69.95, -40.80, 60.73)
CIE-LCHlch(69.95, 73.17, 123.89°)
OKLaboklab(72.72% -0.1159 0.1353)
OKLCHoklch(72.72% 0.178 130.6)
XYZxyz(27.2485, 40.6828, 9.1057)
Luminance0.4068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBC2F #6C2FBC
analogous
#BCB22F #7FBC2F #39BC2F
triadic
#7FBC2F #2F7FBC #BC2F7F
tetradic
#7FBC2F #2FBCB2 #6C2FBC #BC2F39
square
#7FBC2F #2FBCB2 #6C2FBC #BC2F39
split-complementary
#7FBC2F #2F39BC #B22FBC
monochromatic
#3D5A17 #5E8B23 #7FBC2F #9DD454 #B9E085

Accessibility & contrast

On white

2.30
#7FBC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#7FBC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBC2F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBC2F#FFFFFF#000000##000000
##7FBC2F1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0F
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#82B4A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7fbc2f;
/* rgb */ color: rgb(127, 188, 47);
/* oklch */ color: oklch(72.7% 0.178 130.6);
Tailwind
colors: {
  custom: {
    50: '#a9d072',
    500: '#7fbc2f',
    950: '#000000',
  },
}
SCSS
$custom: #7fbc2f;
$custom-light: #a9d072;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbc2f",
  "rgb": {
    "r": 127,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 85.957,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72723,
    "c": 0.17815,
    "h": 130.6
  },
  "luminance": 0.40684
}

Semantic roles & 50–950 ramp

primary
#7FBC2F
secondary
#9E7DCA
accent
#45E389
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #7FBC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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