#7FB231#7FB231

#7FB231 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.3% C 0.165 H 128.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7FB231
RGBrgb(127, 178, 49)
HSLhsl(84, 57%, 45%)
HSVhsv(84, 72%, 70%)
CMYKcmyk(28.7%, 0%, 72.5%, 30.2%)
CIE-LABlab(66.96, -36.24, 57.10)
CIE-LCHlch(66.96, 67.63, 122.41°)
OKLaboklab(70.29% -0.1034 0.128)
OKLCHoklch(70.29% 0.165 128.9)
XYZxyz(25.2271, 36.5739, 8.6355)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB231 #6431B2
analogous
#B2A531 #7FB231 #3FB231
triadic
#7FB231 #317FB2 #B2317F
tetradic
#7FB231 #31B2A5 #6431B2 #B2313F
square
#7FB231 #31B2A5 #6431B2 #B2313F
split-complementary
#7FB231 #313FB2 #A531B2
monochromatic
#3B5217 #5D8224 #7FB231 #9DCF51 #B8DC81

Accessibility & contrast

On white

2.53
#7FB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#7FB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB231
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB231#FFFFFF#000000##000000
##7FB2311.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51A
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#83AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb231;
/* rgb */ color: rgb(127, 178, 49);
/* oklch */ color: oklch(70.3% 0.165 128.9);
Tailwind
colors: {
  custom: {
    50: '#a8c972',
    500: '#7fb231',
    950: '#000000',
  },
}
SCSS
$custom: #7fb231;
$custom-light: #a8c972;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb231",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 83.721,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70288,
    "c": 0.16451,
    "h": 128.9
  },
  "luminance": 0.36575
}

Semantic roles & 50–950 ramp

primary
#7FB231
secondary
#9779C5
accent
#48E084
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB231

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

Preview Lab → · Contrast checker → · Palette generator →

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