#2F8229#2F8229

#2F8229 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.148 H 142.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F8229
RGBrgb(47, 130, 41)
HSLhsl(116, 52%, 34%)
HSVhsv(116, 68%, 51%)
CMYKcmyk(63.8%, 0%, 68.5%, 49%)
CIE-LABlab(47.92, -43.02, 39.44)
CIE-LCHlch(47.92, 58.36, 137.49°)
OKLaboklab(53.67% -0.1172 0.091)
OKLCHoklch(53.67% 0.148 142.2)
XYZxyz(9.5546, 16.7288, 4.8229)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8229 #7C2982
analogous
#5B8229 #2F8229 #29824F
triadic
#2F8229 #292F82 #82292F
tetradic
#2F8229 #295B82 #7C2982 #824F29
square
#2F8229 #295B82 #7C2982 #824F29
split-complementary
#2F8229 #4F2982 #82295B
monochromatic
#0D250C #1E531A #2F8229 #40B138 #62CB5A

Accessibility & contrast

On white

4.83
#2F8229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2F8229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8229
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8229#FFFFFF#000000##FFFFFF
##2F82291.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#207E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8229;
/* rgb */ color: rgb(47, 130, 41);
/* oklch */ color: oklch(53.7% 0.148 142.2);
Tailwind
colors: {
  custom: {
    50: '#72a767',
    500: '#2f8229',
    950: '#000000',
  },
}
SCSS
$custom: #2f8229;
$custom-light: #72a767;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8229",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 115.955,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53672,
    "c": 0.14833,
    "h": 142.2
  },
  "luminance": 0.1673
}

Semantic roles & 50–950 ramp

primary
#2F8229
secondary
#AA56B0
accent
#4CDBD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8229

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

Preview Lab → · Contrast checker → · Palette generator →

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