#2F702A#2F702A

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

Color values

HEX#2F702A
RGBrgb(47, 112, 42)
HSLhsl(116, 45%, 30%)
HSVhsv(116, 63%, 44%)
CMYKcmyk(58%, 0%, 62.5%, 56.1%)
CIE-LABlab(41.78, -35.71, 32.12)
CIE-LCHlch(41.78, 48.03, 138.03°)
OKLaboklab(48.62% -0.0973 0.0755)
OKLCHoklch(48.62% 0.123 142.2)
XYZxyz(7.3840, 12.3592, 4.1865)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F702A #6B2A70
analogous
#52702A #2F702A #2A7048
triadic
#2F702A #2A2F70 #702A2F
tetradic
#2F702A #2A5270 #6B2A70 #70482A
square
#2F702A #2A5270 #6B2A70 #70482A
split-complementary
#2F702A #482A70 #702A52
monochromatic
#0A1709 #1C4319 #2F702A #429D3B #5DBF55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F702A#FFFFFF#000000##FFFFFF
##2F702A1.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)
#736623
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#266D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f702a;
/* rgb */ color: rgb(47, 112, 42);
/* oklch */ color: oklch(48.6% 0.123 142.2);
Tailwind
colors: {
  custom: {
    50: '#6f9a66',
    500: '#2f702a',
    950: '#000000',
  },
}
SCSS
$custom: #2f702a;
$custom-light: #6f9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f702a",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 115.714,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48615,
    "c": 0.12316,
    "h": 142.2
  },
  "luminance": 0.1236
}

Semantic roles & 50–950 ramp

primary
#2F702A
secondary
#9C54A2
accent
#53D5CC
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F702A

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

Preview Lab → · Contrast checker → · Palette generator →

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