#2F8B29#2F8B29

#2F8B29 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.160 H 142.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F8B29
RGBrgb(47, 139, 41)
HSLhsl(116, 54%, 35%)
HSVhsv(116, 71%, 55%)
CMYKcmyk(66.2%, 0%, 70.5%, 45.5%)
CIE-LABlab(50.95, -46.38, 42.69)
CIE-LCHlch(50.95, 63.04, 137.37°)
OKLaboklab(56.18% -0.1263 0.0978)
OKLCHoklch(56.18% 0.16 142.2)
XYZxyz(10.8046, 19.2286, 5.2395)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B29 #85298B
analogous
#608B29 #2F8B29 #298B54
triadic
#2F8B29 #292F8B #8B292F
tetradic
#2F8B29 #29608B #85298B #8B5429
square
#2F8B29 #29608B #85298B #8B5429
split-complementary
#2F8B29 #54298B #8B2960
monochromatic
#0F2C0D #1F5C1B #2F8B29 #3FBA37 #66D05F

Accessibility & contrast

On white

4.33
#2F8B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2F8B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B29
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B29#FFFFFF#000000##000000
##2F8B291.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1B
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#1C8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8b29;
/* rgb */ color: rgb(47, 139, 41);
/* oklch */ color: oklch(56.2% 0.160 142.2);
Tailwind
colors: {
  custom: {
    50: '#74ae68',
    500: '#2f8b29',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b29;
$custom-light: #74ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b29",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 116.327,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.15973,
    "h": 142.2
  },
  "luminance": 0.1923
}

Semantic roles & 50–950 ramp

primary
#2F8B29
secondary
#B05BB5
accent
#4ADED5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8B29

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

Preview Lab → · Contrast checker → · Palette generator →

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