#2F8235#2F8235

#2F8235 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.138 H 144.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2F8235
RGBrgb(47, 130, 53)
HSLhsl(124, 47%, 35%)
HSVhsv(124, 64%, 51%)
CMYKcmyk(63.8%, 0%, 59.2%, 49%)
CIE-LABlab(48.04, -41.60, 33.89)
CIE-LCHlch(48.04, 53.66, 140.83°)
OKLaboklab(53.81% -0.1127 0.0803)
OKLCHoklch(53.81% 0.138 144.5)
XYZxyz(9.7969, 16.8257, 6.0989)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8235 #822F7C
analogous
#53822F #2F8235 #2F825E
triadic
#2F8235 #352F82 #82352F
tetradic
#2F8235 #2F5382 #822F7C #825E2F
square
#2F8235 #2F5382 #822F7C #825E2F
split-complementary
#2F8235 #5E2F82 #822F53
monochromatic
#0E2810 #1F5523 #2F8235 #3FAF47 #64C76B

Accessibility & contrast

On white

4.81
#2F8235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2F8235 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8235
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8235#FFFFFF#000000##FFFFFF
##2F82351.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762D
Deuteranopia (green-blind)
#7A6F3B
Tritanopia (blue-blind)
#1D7F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8235;
/* rgb */ color: rgb(47, 130, 53);
/* oklch */ color: oklch(53.8% 0.138 144.5);
Tailwind
colors: {
  custom: {
    50: '#72a76f',
    500: '#2f8235',
    950: '#000000',
  },
}
SCSS
$custom: #2f8235;
$custom-light: #72a76f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8235",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 53
  },
  "hsl": {
    "h": 124.337,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.1384,
    "h": 144.5
  },
  "luminance": 0.16827
}

Semantic roles & 50–950 ramp

primary
#2F8235
secondary
#AE5FA8
accent
#51CDD7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F8235

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

Preview Lab → · Contrast checker → · Palette generator →

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