#2F9238#2F9238

#2F9238 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.3% C 0.157 H 144.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F9238
RGBrgb(47, 146, 56)
HSLhsl(125, 51%, 38%)
HSVhsv(125, 68%, 57%)
CMYKcmyk(67.8%, 0%, 61.6%, 42.7%)
CIE-LABlab(53.43, -47.32, 38.69)
CIE-LCHlch(53.43, 61.12, 140.73°)
OKLaboklab(58.28% -0.1281 0.091)
OKLCHoklch(58.28% 0.157 144.6)
XYZxyz(12.1642, 21.4464, 7.2391)
Luminance0.2145 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9238 #922F89
analogous
#57922F #2F9238 #2F926A
triadic
#2F9238 #382F92 #92382F
tetradic
#2F9238 #2F5792 #922F89 #926A2F
square
#2F9238 #2F5792 #922F89 #926A2F
split-complementary
#2F9238 #6A2F92 #922F57
monochromatic
#113514 #206426 #2F9238 #3EC04A #6CD075

Accessibility & contrast

On white

3.97
#2F9238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#2F9238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9238
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9238#FFFFFF#000000##000000
##2F92381.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852E
Deuteranopia (green-blind)
#897C3F
Tritanopia (blue-blind)
#138E7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f9238;
/* rgb */ color: rgb(47, 146, 56);
/* oklch */ color: oklch(58.3% 0.157 144.6);
Tailwind
colors: {
  custom: {
    50: '#75b372',
    500: '#2f9238',
    950: '#000000',
  },
}
SCSS
$custom: #2f9238;
$custom-light: #75b372;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9238",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 56
  },
  "hsl": {
    "h": 125.455,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.15708,
    "h": 144.6
  },
  "luminance": 0.21448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F9238

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

Preview Lab → · Contrast checker → · Palette generator →

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