#2F9338#2F9338

#2F9338 is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.6% C 0.158 H 144.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F9338
RGBrgb(47, 147, 56)
HSLhsl(125, 52%, 38%)
HSVhsv(125, 68%, 58%)
CMYKcmyk(68%, 0%, 61.9%, 42.4%)
CIE-LABlab(53.77, -47.68, 39.07)
CIE-LCHlch(53.77, 61.65, 140.67°)
OKLaboklab(58.56% -0.1291 0.0918)
OKLCHoklch(58.56% 0.158 144.6)
XYZxyz(12.3190, 21.7560, 7.2907)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9338 #932F8A
analogous
#58932F #2F9338 #2F936A
triadic
#2F9338 #382F93 #93382F
tetradic
#2F9338 #2F5893 #932F8A #936A2F
square
#2F9338 #2F5893 #932F8A #936A2F
split-complementary
#2F9338 #6A2F93 #932F58
monochromatic
#113615 #206526 #2F9338 #3EC14A #6CD075

Accessibility & contrast

On white

3.92
#2F9338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#2F9338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9338
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9338#FFFFFF#000000##000000
##2F93381.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96862E
Deuteranopia (green-blind)
#8A7D40
Tritanopia (blue-blind)
#128F7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f9338;
/* rgb */ color: rgb(47, 147, 56);
/* oklch */ color: oklch(58.6% 0.158 144.6);
Tailwind
colors: {
  custom: {
    50: '#75b472',
    500: '#2f9338',
    950: '#000000',
  },
}
SCSS
$custom: #2f9338;
$custom-light: #75b472;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9338",
  "rgb": {
    "r": 47,
    "g": 147,
    "b": 56
  },
  "hsl": {
    "h": 125.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.15837,
    "h": 144.6
  },
  "luminance": 0.21757
}

Semantic roles & 50–950 ramp

primary
#2F9338
secondary
#B766B0
accent
#4DCEDB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F9338

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

Preview Lab → · Contrast checker → · Palette generator →

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