#2F7330#2F7330

#2F7330 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.122 H 143.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2F7330
RGBrgb(47, 115, 48)
HSLhsl(121, 42%, 32%)
HSVhsv(121, 59%, 45%)
CMYKcmyk(59.1%, 0%, 58.3%, 54.9%)
CIE-LABlab(42.88, -36.18, 30.35)
CIE-LCHlch(42.88, 47.22, 140.01°)
OKLaboklab(49.54% -0.0983 0.0722)
OKLCHoklch(49.54% 0.122 143.7)
XYZxyz(7.8361, 13.0785, 4.9072)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7330 #732F72
analogous
#50732F #2F7330 #2F7352
triadic
#2F7330 #302F73 #73302F
tetradic
#2F7330 #2F5073 #732F72 #73522F
square
#2F7330 #2F5073 #732F72 #73522F
split-complementary
#2F7330 #522F73 #732F50
monochromatic
#0B1C0C #1D481E #2F7330 #419E42 #5FBE60

Accessibility & contrast

On white

5.81
#2F7330 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2F7330 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7330
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7330#FFFFFF#000000##FFFFFF
##2F73301.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692A
Deuteranopia (green-blind)
#6C6335
Tritanopia (blue-blind)
#247064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7330;
/* rgb */ color: rgb(47, 115, 48);
/* oklch */ color: oklch(49.5% 0.122 143.7);
Tailwind
colors: {
  custom: {
    50: '#6f9c6a',
    500: '#2f7330',
    950: '#000000',
  },
}
SCSS
$custom: #2f7330;
$custom-light: #6f9c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7330",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 48
  },
  "hsl": {
    "h": 120.882,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49543,
    "c": 0.12195,
    "h": 143.7
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#2F7330
secondary
#A45AA3
accent
#56D0D2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7330

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

Preview Lab → · Contrast checker → · Palette generator →

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