#2F8621#2F8621

#2F8621 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.159 H 141.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F8621
RGBrgb(47, 134, 33)
HSLhsl(112, 60%, 33%)
HSVhsv(112, 75%, 53%)
CMYKcmyk(64.9%, 0%, 75.4%, 47.5%)
CIE-LABlab(49.21, -45.25, 44.10)
CIE-LCHlch(49.21, 63.19, 135.74°)
OKLaboklab(54.72% -0.1237 0.0997)
OKLCHoklch(54.72% 0.159 141.1)
XYZxyz(9.9714, 17.7634, 4.3417)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8621 #782186
analogous
#618621 #2F8621 #218645
triadic
#2F8621 #212F86 #86212F
tetradic
#2F8621 #216186 #782186 #864521
square
#2F8621 #216186 #782186 #864521
split-complementary
#2F8621 #452186 #862161
monochromatic
#0D2409 #1E5515 #2F8621 #40B72D #60D34E

Accessibility & contrast

On white

4.61
#2F8621 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F8621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8621
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8621#FFFFFF#000000##FFFFFF
##2F86211.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790E
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#208272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8621;
/* rgb */ color: rgb(47, 134, 33);
/* oklch */ color: oklch(54.7% 0.159 141.1);
Tailwind
colors: {
  custom: {
    50: '#73aa63',
    500: '#2f8621',
    950: '#000000',
  },
}
SCSS
$custom: #2f8621;
$custom-light: #73aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8621",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 33
  },
  "hsl": {
    "h": 111.683,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5472,
    "c": 0.15885,
    "h": 141.1
  },
  "luminance": 0.17764
}

Semantic roles & 50–950 ramp

primary
#2F8621
secondary
#A84CB7
accent
#44E4CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8621

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

Preview Lab → · Contrast checker → · Palette generator →

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