#2F8223#2F8223

#2F8223 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.153 H 141.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F8223
RGBrgb(47, 130, 35)
HSLhsl(112, 58%, 32%)
HSVhsv(112, 73%, 51%)
CMYKcmyk(63.8%, 0%, 73.1%, 49%)
CIE-LABlab(47.87, -43.59, 41.94)
CIE-LCHlch(47.87, 60.49, 136.11°)
OKLaboklab(53.62% -0.1191 0.0954)
OKLCHoklch(53.62% 0.153 141.3)
XYZxyz(9.4578, 16.6900, 4.3129)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8223 #762382
analogous
#5F8223 #2F8223 #238246
triadic
#2F8223 #232F82 #82232F
tetradic
#2F8223 #235F82 #762382 #824623
square
#2F8223 #235F82 #762382 #824623
split-complementary
#2F8223 #462382 #82235F
monochromatic
#0C2209 #1E5216 #2F8223 #40B230 #60D050

Accessibility & contrast

On white

4.84
#2F8223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2F8223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8223
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8223#FFFFFF#000000##FFFFFF
##2F82231.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857614
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#217E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8223;
/* rgb */ color: rgb(47, 130, 35);
/* oklch */ color: oklch(53.6% 0.153 141.3);
Tailwind
colors: {
  custom: {
    50: '#73a764',
    500: '#2f8223',
    950: '#000000',
  },
}
SCSS
$custom: #2f8223;
$custom-light: #73a764;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8223",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 112.421,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.15261,
    "h": 141.3
  },
  "luminance": 0.16691
}

Semantic roles & 50–950 ramp

primary
#2F8223
secondary
#A74DB3
accent
#47E1CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8223

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

Preview Lab → · Contrast checker → · Palette generator →

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