#2F8A29#2F8A29

#2F8A29 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.158 H 142.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F8A29
RGBrgb(47, 138, 41)
HSLhsl(116, 54%, 35%)
HSVhsv(116, 70%, 54%)
CMYKcmyk(65.9%, 0%, 70.3%, 45.9%)
CIE-LABlab(50.62, -46.02, 42.34)
CIE-LCHlch(50.62, 62.53, 137.39°)
OKLaboklab(55.91% -0.1253 0.0971)
OKLCHoklch(55.91% 0.158 142.2)
XYZxyz(10.6604, 18.9403, 5.1914)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A29 #84298A
analogous
#5F8A29 #2F8A29 #298A54
triadic
#2F8A29 #292F8A #8A292F
tetradic
#2F8A29 #295F8A #84298A #8A5429
square
#2F8A29 #295F8A #84298A #8A5429
split-complementary
#2F8A29 #54298A #8A295F
monochromatic
#0F2C0D #1F5B1B #2F8A29 #3FB937 #65CF5E

Accessibility & contrast

On white

4.39
#2F8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2F8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A29
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A29#FFFFFF#000000##000000
##2F8A291.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1B
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#1D8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8a29;
/* rgb */ color: rgb(47, 138, 41);
/* oklch */ color: oklch(55.9% 0.158 142.2);
Tailwind
colors: {
  custom: {
    50: '#74ad68',
    500: '#2f8a29',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a29;
$custom-light: #74ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a29",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 116.289,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55906,
    "c": 0.15848,
    "h": 142.2
  },
  "luminance": 0.18941
}

Semantic roles & 50–950 ramp

primary
#2F8A29
secondary
#AF5AB5
accent
#4ADED4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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