#2F9231#2F9231

#2F9231 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.2% C 0.163 H 143.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2F9231
RGBrgb(47, 146, 49)
HSLhsl(121, 51%, 38%)
HSVhsv(121, 68%, 57%)
CMYKcmyk(67.8%, 0%, 66.4%, 42.7%)
CIE-LABlab(53.37, -48.12, 41.83)
CIE-LCHlch(53.37, 63.77, 139.00°)
OKLaboklab(58.2% -0.1306 0.097)
OKLCHoklch(58.2% 0.163 143.4)
XYZxyz(12.0048, 21.3826, 6.3997)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9231 #922F90
analogous
#5E922F #2F9231 #2F9262
triadic
#2F9231 #312F92 #92312F
tetradic
#2F9231 #2F5E92 #922F90 #92622F
square
#2F9231 #2F5E92 #922F90 #92622F
split-complementary
#2F9231 #622F92 #922F5E
monochromatic
#113512 #206421 #2F9231 #3EC041 #6CD06E

Accessibility & contrast

On white

3.98
#2F9231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#2F9231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9231
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9231#FFFFFF#000000##000000
##2F92311.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958425
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#168E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f9231;
/* rgb */ color: rgb(47, 146, 49);
/* oklch */ color: oklch(58.2% 0.163 143.4);
Tailwind
colors: {
  custom: {
    50: '#75b36e',
    500: '#2f9231',
    950: '#000000',
  },
}
SCSS
$custom: #2f9231;
$custom-light: #75b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9231",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 121.212,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.16264,
    "h": 143.4
  },
  "luminance": 0.21384
}

Semantic roles & 50–950 ramp

primary
#2F9231
secondary
#B766B5
accent
#4DD8DB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F9231

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

Preview Lab → · Contrast checker → · Palette generator →

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