#2F8322#2F8322

#2F8322 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.155 H 141.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8322
RGBrgb(47, 131, 34)
HSLhsl(112, 59%, 32%)
HSVhsv(112, 74%, 51%)
CMYKcmyk(64.1%, 0%, 74%, 48.6%)
CIE-LABlab(48.20, -44.05, 42.68)
CIE-LCHlch(48.20, 61.34, 135.91°)
OKLaboklab(53.89% -0.1204 0.0969)
OKLCHoklch(53.89% 0.155 141.2)
XYZxyz(9.5768, 16.9515, 4.2803)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8322 #762283
analogous
#5F8322 #2F8322 #228346
triadic
#2F8322 #222F83 #83222F
tetradic
#2F8322 #225F83 #762283 #834622
square
#2F8322 #225F83 #762283 #834622
split-complementary
#2F8322 #462283 #83225F
monochromatic
#0C2209 #1E5215 #2F8322 #40B42F #60D14E

Accessibility & contrast

On white

4.78
#2F8322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2F8322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8322
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8322#FFFFFF#000000##FFFFFF
##2F83221.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867711
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#217F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8322;
/* rgb */ color: rgb(47, 131, 34);
/* oklch */ color: oklch(53.9% 0.155 141.2);
Tailwind
colors: {
  custom: {
    50: '#73a863',
    500: '#2f8322',
    950: '#000000',
  },
}
SCSS
$custom: #2f8322;
$custom-light: #73a863;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8322",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 111.959,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53888,
    "c": 0.15452,
    "h": 141.2
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#2F8322
secondary
#A74CB4
accent
#46E2CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8322

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

Preview Lab → · Contrast checker → · Palette generator →

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