#2F7022#2F7022

#2F7022 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.130 H 140.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2F7022
RGBrgb(47, 112, 34)
HSLhsl(110, 53%, 29%)
HSVhsv(110, 70%, 44%)
CMYKcmyk(58%, 0%, 69.6%, 56.1%)
CIE-LABlab(41.70, -36.61, 35.85)
CIE-LCHlch(41.70, 51.25, 135.60°)
OKLaboklab(48.52% -0.1003 0.0825)
OKLCHoklch(48.52% 0.13 140.5)
XYZxyz(7.2549, 12.3076, 3.5064)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7022 #632270
analogous
#567022 #2F7022 #22703C
triadic
#2F7022 #222F70 #70222F
tetradic
#2F7022 #225670 #632270 #703C22
square
#2F7022 #225670 #632270 #703C22
split-complementary
#2F7022 #3C2270 #702256
monochromatic
#0A1707 #1B4114 #2F7022 #439F30 #5BC746

Accessibility & contrast

On white

6.07
#2F7022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2F7022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7022
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7022#FFFFFF#000000##FFFFFF
##2F70221.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736618
Deuteranopia (green-blind)
#6B6029
Tritanopia (blue-blind)
#276C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f7022;
/* rgb */ color: rgb(47, 112, 34);
/* oklch */ color: oklch(48.5% 0.130 140.5);
Tailwind
colors: {
  custom: {
    50: '#6f9a61',
    500: '#2f7022',
    950: '#000000',
  },
}
SCSS
$custom: #2f7022;
$custom-light: #6f9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7022",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 110,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.12986,
    "h": 140.5
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

primary
#2F7022
secondary
#954AA3
accent
#4BDDC5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7022

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

Preview Lab → · Contrast checker → · Palette generator →

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