#2F7B33#2F7B33

#2F7B33 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.131 H 144.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2F7B33
RGBrgb(47, 123, 51)
HSLhsl(123, 45%, 33%)
HSVhsv(123, 62%, 48%)
CMYKcmyk(61.8%, 0%, 58.5%, 51.8%)
CIE-LABlab(45.65, -39.07, 32.08)
CIE-LCHlch(45.65, 50.55, 140.61°)
OKLaboklab(51.83% -0.106 0.0762)
OKLCHoklch(51.83% 0.131 144.3)
XYZxyz(8.8523, 15.0084, 5.5617)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B33 #7B2F77
analogous
#517B2F #2F7B33 #2F7B59
triadic
#2F7B33 #332F7B #7B332F
tetradic
#2F7B33 #2F517B #7B2F77 #7B592F
square
#2F7B33 #2F517B #7B2F77 #7B592F
split-complementary
#2F7B33 #592F7B #7B2F51
monochromatic
#0D220E #1E4F21 #2F7B33 #40A745 #62C367

Accessibility & contrast

On white

5.25
#2F7B33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2F7B33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B33
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B33#FFFFFF#000000##FFFFFF
##2F7B331.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702C
Deuteranopia (green-blind)
#746A39
Tritanopia (blue-blind)
#20786B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7b33;
/* rgb */ color: rgb(47, 123, 51);
/* oklch */ color: oklch(51.8% 0.131 144.3);
Tailwind
colors: {
  custom: {
    50: '#70a26d',
    500: '#2f7b33',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b33;
$custom-light: #70a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b33",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 51
  },
  "hsl": {
    "h": 123.158,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.13053,
    "h": 144.3
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#2F7B33
secondary
#AA5CA6
accent
#53CED4
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7B33

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

Preview Lab → · Contrast checker → · Palette generator →

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