#2F7422#2F7422

#2F7422 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.135 H 140.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2F7422
RGBrgb(47, 116, 34)
HSLhsl(110, 55%, 29%)
HSVhsv(110, 71%, 45%)
CMYKcmyk(59.5%, 0%, 70.7%, 54.5%)
CIE-LABlab(43.08, -38.24, 37.33)
CIE-LCHlch(43.08, 53.44, 135.69°)
OKLaboklab(49.66% -0.1047 0.0856)
OKLCHoklch(49.66% 0.135 140.7)
XYZxyz(7.7061, 13.2099, 3.6568)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7422 #672274
analogous
#587422 #2F7422 #22743E
triadic
#2F7422 #222F74 #74222F
tetradic
#2F7422 #225874 #672274 #743E22
square
#2F7422 #225874 #672274 #743E22
split-complementary
#2F7422 #3E2274 #742258
monochromatic
#0A1807 #1C4514 #2F7422 #42A330 #5CC947

Accessibility & contrast

On white

5.77
#2F7422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2F7422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7422
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7422#FFFFFF#000000##FFFFFF
##2F74221.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#6E642A
Tritanopia (blue-blind)
#267063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7422;
/* rgb */ color: rgb(47, 116, 34);
/* oklch */ color: oklch(49.7% 0.135 140.7);
Tailwind
colors: {
  custom: {
    50: '#709d62',
    500: '#2f7422',
    950: '#000000',
  },
}
SCSS
$custom: #2f7422;
$custom-light: #709d62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7422",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 110.488,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49658,
    "c": 0.13523,
    "h": 140.7
  },
  "luminance": 0.13211
}

Semantic roles & 50–950 ramp

primary
#2F7422
secondary
#984BA7
accent
#4ADEC7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7422

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

Preview Lab → · Contrast checker → · Palette generator →

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