#2F9228#2F9228

#2F9228 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.1% C 0.169 H 142.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F9228
RGBrgb(47, 146, 40)
HSLhsl(116, 57%, 36%)
HSVhsv(116, 73%, 57%)
CMYKcmyk(67.8%, 0%, 72.6%, 42.7%)
CIE-LABlab(53.29, -49.00, 45.55)
CIE-LCHlch(53.29, 66.90, 137.09°)
OKLaboklab(58.12% -0.1334 0.1037)
OKLCHoklch(58.12% 0.169 142.2)
XYZxyz(11.8335, 21.3141, 5.4975)
Luminance0.2132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9228 #8B2892
analogous
#649228 #2F9228 #289256
triadic
#2F9228 #282F92 #92282F
tetradic
#2F9228 #286492 #8B2892 #925628
square
#2F9228 #286492 #8B2892 #925628
split-complementary
#2F9228 #562892 #922864
monochromatic
#10320E #20621B #2F9228 #3EC235 #68D461

Accessibility & contrast

On white

3.99
#2F9228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#2F9228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9228
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9228#FFFFFF#000000##000000
##2F92281.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#198E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f9228;
/* rgb */ color: rgb(47, 146, 40);
/* oklch */ color: oklch(58.1% 0.169 142.2);
Tailwind
colors: {
  custom: {
    50: '#76b368',
    500: '#2f9228',
    950: '#000000',
  },
}
SCSS
$custom: #2f9228;
$custom-light: #76b368;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9228",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 116.038,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58117,
    "c": 0.16897,
    "h": 142.2
  },
  "luminance": 0.21315
}

Semantic roles & 50–950 ramp

primary
#2F9228
secondary
#B35DB9
accent
#48E0D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9228

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

Preview Lab → · Contrast checker → · Palette generator →

#2F9228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva