#4FB231#4FB231

#4FB231 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.9% C 0.189 H 139.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4FB231
RGBrgb(79, 178, 49)
HSLhsl(106, 57%, 45%)
HSVhsv(106, 72%, 70%)
CMYKcmyk(55.6%, 0%, 72.5%, 30.2%)
CIE-LABlab(64.74, -52.13, 54.15)
CIE-LCHlch(64.74, 75.17, 133.91°)
OKLaboklab(67.88% -0.1433 0.1226)
OKLCHoklch(67.88% 0.189 139.5)
XYZxyz(19.6984, 33.7232, 8.3763)
Luminance0.3372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB231 #9431B2
analogous
#8FB231 #4FB231 #31B254
triadic
#4FB231 #314FB2 #B2314F
tetradic
#4FB231 #318FB2 #9431B2 #B25431
square
#4FB231 #318FB2 #9431B2 #B25431
split-complementary
#4FB231 #5431B2 #B2318F
monochromatic
#245217 #3A8224 #4FB231 #6ECF51 #96DC81

Accessibility & contrast

On white

2.71
#4FB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#4FB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FB231
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FB231#FFFFFF#000000##000000
##4FB2311.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21A
Deuteranopia (green-blind)
#AB9A3E
Tritanopia (blue-blind)
#44AC99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #4fb231;
/* rgb */ color: rgb(79, 178, 49);
/* oklch */ color: oklch(67.9% 0.189 139.5);
Tailwind
colors: {
  custom: {
    50: '#8bca71',
    500: '#4fb231',
    950: '#000000',
  },
}
SCSS
$custom: #4fb231;
$custom-light: #8bca71;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb231",
  "rgb": {
    "r": 79,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 106.047,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67875,
    "c": 0.1886,
    "h": 139.5
  },
  "luminance": 0.33725
}

Semantic roles & 50–950 ramp

primary
#4FB231
secondary
#B479C5
accent
#48E0BD
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #4FB231

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

Preview Lab → · Contrast checker → · Palette generator →

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