#7FB331#7FB331

#7FB331 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.5% C 0.166 H 129.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7FB331
RGBrgb(127, 179, 49)
HSLhsl(84, 57%, 45%)
HSVhsv(84, 73%, 70%)
CMYKcmyk(29.1%, 0%, 72.6%, 29.8%)
CIE-LABlab(67.26, -36.69, 57.40)
CIE-LCHlch(67.26, 68.12, 122.59°)
OKLaboklab(70.53% -0.1046 0.1286)
OKLCHoklch(70.53% 0.166 129.1)
XYZxyz(25.4268, 36.9733, 8.7020)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB331 #6531B3
analogous
#B3A631 #7FB331 #3EB331
triadic
#7FB331 #317FB3 #B3317F
tetradic
#7FB331 #31B3A6 #6531B3 #B3313E
square
#7FB331 #31B3A6 #6531B3 #B3313E
split-complementary
#7FB331 #313EB3 #A631B3
monochromatic
#3B5317 #5D8324 #7FB331 #9DD052 #B8DD82

Accessibility & contrast

On white

2.50
#7FB331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#7FB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB331
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB331#FFFFFF#000000##000000
##7FB3311.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA619
Deuteranopia (green-blind)
#B4A33D
Tritanopia (blue-blind)
#83AB9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb331;
/* rgb */ color: rgb(127, 179, 49);
/* oklch */ color: oklch(70.5% 0.166 129.1);
Tailwind
colors: {
  custom: {
    50: '#a8ca72',
    500: '#7fb331',
    950: '#000000',
  },
}
SCSS
$custom: #7fb331;
$custom-light: #a8ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb331",
  "rgb": {
    "r": 127,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 84,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.16578,
    "h": 129.1
  },
  "luminance": 0.36974
}

Semantic roles & 50–950 ramp

primary
#7FB331
secondary
#987AC6
accent
#48E085
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB331

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

Preview Lab → · Contrast checker → · Palette generator →

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