#2F901C#2F901C

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

Color values

HEX#2F901C
RGBrgb(47, 144, 28)
HSLhsl(110, 67%, 34%)
HSVhsv(110, 81%, 56%)
CMYKcmyk(67.4%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.55, -49.20, 49.12)
CIE-LCHlch(52.55, 69.53, 135.05°)
OKLaboklab(57.48% -0.1346 0.1094)
OKLCHoklch(57.48% 0.173 140.9)
XYZxyz(11.3546, 20.6335, 4.4827)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F901C #7D1C90
analogous
#69901C #2F901C #1C9043
triadic
#2F901C #1C2F90 #901C2F
tetradic
#2F901C #1C6990 #7D1C90 #90431C
square
#2F901C #1C6990 #7D1C90 #90431C
split-complementary
#2F901C #431C90 #901C69
monochromatic
#0E2A08 #1E5D12 #2F901C #40C326 #62DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F901C#FFFFFF#000000##000000
##2F901C1.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)
#887A2A
Tritanopia (blue-blind)
#1D8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f901c;
/* rgb */ color: rgb(47, 144, 28);
/* oklch */ color: oklch(57.5% 0.173 140.9);
Tailwind
colors: {
  custom: {
    50: '#76b162',
    500: '#2f901c',
    950: '#000000',
  },
}
SCSS
$custom: #2f901c;
$custom-light: #76b162;
$custom-dark: #000000;
JSON
{
  "hex": "#2f901c",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 110.172,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57475,
    "c": 0.17349,
    "h": 140.9
  },
  "luminance": 0.20635
}

Semantic roles & 50–950 ramp

primary
#2F901C
secondary
#AB4ABE
accent
#3DEACE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F901C

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

Preview Lab → · Contrast checker → · Palette generator →

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