#2F8921#2F8921

#2F8921 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.162 H 141.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F8921
RGBrgb(47, 137, 33)
HSLhsl(112, 61%, 33%)
HSVhsv(112, 76%, 54%)
CMYKcmyk(65.7%, 0%, 75.9%, 46.3%)
CIE-LABlab(50.22, -46.35, 45.12)
CIE-LCHlch(50.22, 64.68, 135.77°)
OKLaboklab(55.56% -0.1267 0.1018)
OKLCHoklch(55.56% 0.162 141.2)
XYZxyz(10.3919, 18.6044, 4.4819)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8921 #7B2189
analogous
#638921 #2F8921 #218947
triadic
#2F8921 #212F89 #89212F
tetradic
#2F8921 #216389 #7B2189 #894721
square
#2F8921 #216389 #7B2189 #894721
split-complementary
#2F8921 #472189 #892163
monochromatic
#0D2609 #1E5815 #2F8921 #40BA2D #62D550

Accessibility & contrast

On white

4.45
#2F8921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2F8921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8921
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8921#FFFFFF#000000##000000
##2F89211.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0D
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#1F8575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8921;
/* rgb */ color: rgb(47, 137, 33);
/* oklch */ color: oklch(55.6% 0.162 141.2);
Tailwind
colors: {
  custom: {
    50: '#74ac64',
    500: '#2f8921',
    950: '#000000',
  },
}
SCSS
$custom: #2f8921;
$custom-light: #74ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8921",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 111.923,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.16249,
    "h": 141.2
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#2F8921
secondary
#AA4EB8
accent
#44E4CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8921

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

Preview Lab → · Contrast checker → · Palette generator →

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