#2F901B#2F901B

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

Color values

HEX#2F901B
RGBrgb(47, 144, 27)
HSLhsl(110, 68%, 34%)
HSVhsv(110, 81%, 56%)
CMYKcmyk(67.4%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.54, -49.27, 49.43)
CIE-LCHlch(52.54, 69.79, 134.90°)
OKLaboklab(57.47% -0.1348 0.1099)
OKLCHoklch(57.47% 0.174 140.8)
XYZxyz(11.3428, 20.6288, 4.4207)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F901B #7C1B90
analogous
#69901B #2F901B #1B9042
triadic
#2F901B #1B2F90 #901B2F
tetradic
#2F901B #1B6990 #7C1B90 #90421B
square
#2F901B #1B6990 #7C1B90 #90421B
split-complementary
#2F901B #421B90 #901B69
monochromatic
#0D2908 #1E5C11 #2F901B #40C425 #62DD49

Accessibility & contrast

On white

4.10
#2F901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F901B#FFFFFF#000000##000000
##2F901B1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#1D8B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f901b;
/* rgb */ color: rgb(47, 144, 27);
/* oklch */ color: oklch(57.5% 0.174 140.8);
Tailwind
colors: {
  custom: {
    50: '#76b162',
    500: '#2f901b',
    950: '#000000',
  },
}
SCSS
$custom: #2f901b;
$custom-light: #76b162;
$custom-dark: #000000;
JSON
{
  "hex": "#2f901b",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 109.744,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.17397,
    "h": 140.8
  },
  "luminance": 0.2063
}

Semantic roles & 50–950 ramp

primary
#2F901B
secondary
#AA48BF
accent
#3DEBCD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F901B

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

Preview Lab → · Contrast checker → · Palette generator →

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