#2F7933#2F7933

#2F7933 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.3% C 0.128 H 144.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2F7933
RGBrgb(47, 121, 51)
HSLhsl(123, 44%, 33%)
HSVhsv(123, 61%, 47%)
CMYKcmyk(61.2%, 0%, 57.9%, 52.5%)
CIE-LABlab(44.97, -38.26, 31.27)
CIE-LCHlch(44.97, 49.41, 140.74°)
OKLaboklab(51.27% -0.1038 0.0744)
OKLCHoklch(51.27% 0.128 144.3)
XYZxyz(8.6067, 14.5173, 5.4799)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7933 #792F75
analogous
#50792F #2F7933 #2F7958
triadic
#2F7933 #332F79 #79332F
tetradic
#2F7933 #2F5079 #792F75 #79582F
square
#2F7933 #2F5079 #792F75 #79582F
split-complementary
#2F7933 #582F79 #792F50
monochromatic
#0D210E #1E4D20 #2F7933 #40A546 #61C266

Accessibility & contrast

On white

5.38
#2F7933 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2F7933 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7933
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7933#FFFFFF#000000##FFFFFF
##2F79331.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2C
Deuteranopia (green-blind)
#726838
Tritanopia (blue-blind)
#217669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7933;
/* rgb */ color: rgb(47, 121, 51);
/* oklch */ color: oklch(51.3% 0.128 144.3);
Tailwind
colors: {
  custom: {
    50: '#70a06d',
    500: '#2f7933',
    950: '#000000',
  },
}
SCSS
$custom: #2f7933;
$custom-light: #70a06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7933",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 51
  },
  "hsl": {
    "h": 123.243,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51272,
    "c": 0.1277,
    "h": 144.3
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#2F7933
secondary
#A85BA4
accent
#54CDD4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2F7933

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

Preview Lab → · Contrast checker → · Palette generator →

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