#2F901F#2F901F

#2F901F is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.172 H 141.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2F901F
RGBrgb(47, 144, 31)
HSLhsl(112, 65%, 34%)
HSVhsv(112, 78%, 56%)
CMYKcmyk(67.4%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.56, -49.00, 48.15)
CIE-LCHlch(52.56, 68.70, 135.51°)
OKLaboklab(57.5% -0.1339 0.1078)
OKLCHoklch(57.5% 0.172 141.2)
XYZxyz(11.3923, 20.6486, 4.6813)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F901F #801F90
analogous
#68901F #2F901F #1F9047
triadic
#2F901F #1F2F90 #901F2F
tetradic
#2F901F #1F6890 #801F90 #90471F
square
#2F901F #1F6890 #801F90 #90471F
split-complementary
#2F901F #471F90 #901F68
monochromatic
#0E2B09 #1F5E14 #2F901F #3FC22A #64D950

Accessibility & contrast

On white

4.09
#2F901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#2F901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F901F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F901F#FFFFFF#000000##000000
##2F901F1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#1C8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f901f;
/* rgb */ color: rgb(47, 144, 31);
/* oklch */ color: oklch(57.5% 0.172 141.2);
Tailwind
colors: {
  custom: {
    50: '#76b164',
    500: '#2f901f',
    950: '#000000',
  },
}
SCSS
$custom: #2f901f;
$custom-light: #76b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2f901f",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 111.504,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.17194,
    "h": 141.2
  },
  "luminance": 0.2065
}

Semantic roles & 50–950 ramp

primary
#2F901F
secondary
#AD4EBC
accent
#40E8D0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F901F

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

Preview Lab → · Contrast checker → · Palette generator →

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