#2F8D1A#2F8D1A

#2F8D1A is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.171 H 140.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F8D1A
RGBrgb(47, 141, 26)
HSLhsl(109, 69%, 33%)
HSVhsv(109, 82%, 55%)
CMYKcmyk(66.7%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.53, -48.27, 48.79)
CIE-LCHlch(51.53, 68.63, 134.69°)
OKLaboklab(56.63% -0.1322 0.1085)
OKLCHoklch(56.63% 0.171 140.6)
XYZxyz(10.8831, 19.7276, 4.2114)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D1A #781A8D
analogous
#698D1A #2F8D1A #1A8D3E
triadic
#2F8D1A #1A2F8D #8D1A2F
tetradic
#2F8D1A #1A698D #781A8D #8D3E1A
square
#2F8D1A #1A698D #781A8D #8D3E1A
split-complementary
#2F8D1A #3E1A8D #8D1A69
monochromatic
#0D2607 #1E5910 #2F8D1A #40C124 #60DD45

Accessibility & contrast

On white

4.25
#2F8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2F8D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D1A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D1A#FFFFFF#000000##000000
##2F8D1A1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#1F8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d1a;
/* rgb */ color: rgb(47, 141, 26);
/* oklch */ color: oklch(56.6% 0.171 140.6);
Tailwind
colors: {
  custom: {
    50: '#75af61',
    500: '#2f8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d1a;
$custom-light: #75af61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d1a",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 109.043,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56628,
    "c": 0.171,
    "h": 140.6
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#2F8D1A
secondary
#A845BE
accent
#3CECCC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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