#2F702B#2F702B

#2F702B is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.122 H 142.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2F702B
RGBrgb(47, 112, 43)
HSLhsl(117, 45%, 30%)
HSVhsv(117, 62%, 44%)
CMYKcmyk(58%, 0%, 61.6%, 56.1%)
CIE-LABlab(41.79, -35.59, 31.63)
CIE-LCHlch(41.79, 47.61, 138.37°)
OKLaboklab(48.63% -0.0969 0.0745)
OKLCHoklch(48.63% 0.122 142.4)
XYZxyz(7.4021, 12.3665, 4.2819)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F702B #6C2B70
analogous
#51702B #2F702B #2B7049
triadic
#2F702B #2B2F70 #702B2F
tetradic
#2F702B #2B5170 #6C2B70 #70492B
square
#2F702B #2B5170 #6C2B70 #70492B
split-complementary
#2F702B #492B70 #702B51
monochromatic
#0A1809 #1C441A #2F702B #429C3C #5DBE57

Accessibility & contrast

On white

6.05
#2F702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2F702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F702B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F702B#FFFFFF#000000##FFFFFF
##2F702B1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736624
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#256D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f702b;
/* rgb */ color: rgb(47, 112, 43);
/* oklch */ color: oklch(48.6% 0.122 142.4);
Tailwind
colors: {
  custom: {
    50: '#6f9a67',
    500: '#2f702b',
    950: '#000000',
  },
}
SCSS
$custom: #2f702b;
$custom-light: #6f9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f702b",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 116.522,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.12226,
    "h": 142.4
  },
  "luminance": 0.12367
}

Semantic roles & 50–950 ramp

primary
#2F702B
secondary
#9D55A2
accent
#54D4CD
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F702B

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

Preview Lab → · Contrast checker → · Palette generator →

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