#2F8335#2F8335

#2F8335 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.140 H 144.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2F8335
RGBrgb(47, 131, 53)
HSLhsl(124, 47%, 35%)
HSVhsv(124, 64%, 51%)
CMYKcmyk(64.1%, 0%, 59.5%, 48.6%)
CIE-LABlab(48.38, -41.99, 34.29)
CIE-LCHlch(48.38, 54.21, 140.77°)
OKLaboklab(54.09% -0.1138 0.0812)
OKLCHoklch(54.09% 0.14 144.5)
XYZxyz(9.9306, 17.0930, 6.1434)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8335 #832F7D
analogous
#53832F #2F8335 #2F835F
triadic
#2F8335 #352F83 #83352F
tetradic
#2F8335 #2F5383 #832F7D #835F2F
square
#2F8335 #2F5383 #832F7D #835F2F
split-complementary
#2F8335 #5F2F83 #832F53
monochromatic
#0F2911 #1F5623 #2F8335 #3FB047 #65C86C

Accessibility & contrast

On white

4.75
#2F8335 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2F8335 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8335
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8335#FFFFFF#000000##FFFFFF
##2F83351.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772D
Deuteranopia (green-blind)
#7B703B
Tritanopia (blue-blind)
#1C8072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8335;
/* rgb */ color: rgb(47, 131, 53);
/* oklch */ color: oklch(54.1% 0.140 144.5);
Tailwind
colors: {
  custom: {
    50: '#72a86f',
    500: '#2f8335',
    950: '#000000',
  },
}
SCSS
$custom: #2f8335;
$custom-light: #72a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8335",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 124.286,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.13977,
    "h": 144.5
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#2F8335
secondary
#AF5FA9
accent
#51CDD7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8335

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

Preview Lab → · Contrast checker → · Palette generator →

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