#2F8438#2F8438

#2F8438 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.138 H 145.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F8438
RGBrgb(47, 132, 56)
HSLhsl(126, 47%, 35%)
HSVhsv(126, 64%, 52%)
CMYKcmyk(64.4%, 0%, 57.6%, 48.2%)
CIE-LABlab(48.75, -41.98, 33.22)
CIE-LCHlch(48.75, 53.53, 141.64°)
OKLaboklab(54.41% -0.1136 0.0791)
OKLCHoklch(54.41% 0.138 145.2)
XYZxyz(10.1367, 17.3914, 6.5633)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8438 #842F7B
analogous
#50842F #2F8438 #2F8462
triadic
#2F8438 #382F84 #84382F
tetradic
#2F8438 #2F5084 #842F7B #84622F
square
#2F8438 #2F5084 #842F7B #84622F
split-complementary
#2F8438 #622F84 #842F50
monochromatic
#0F2A12 #1F5725 #2F8438 #3FB14B #65C870

Accessibility & contrast

On white

4.69
#2F8438 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2F8438 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8438
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8438#FFFFFF#000000##FFFFFF
##2F84381.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867831
Deuteranopia (green-blind)
#7C713E
Tritanopia (blue-blind)
#1B8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8438;
/* rgb */ color: rgb(47, 132, 56);
/* oklch */ color: oklch(54.4% 0.138 145.2);
Tailwind
colors: {
  custom: {
    50: '#72a971',
    500: '#2f8438',
    950: '#000000',
  },
}
SCSS
$custom: #2f8438;
$custom-light: #72a971;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8438",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 56
  },
  "hsl": {
    "h": 126.353,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.13844,
    "h": 145.2
  },
  "luminance": 0.17392
}

Semantic roles & 50–950 ramp

primary
#2F8438
secondary
#AF60A7
accent
#51C9D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8438

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

Preview Lab → · Contrast checker → · Palette generator →

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