#2F6022#2F6022

#2F6022 is a dark, moderate green. Relative luminance 0.091; OKLCH L 44.0% C 0.107 H 139.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2F6022
RGBrgb(47, 96, 34)
HSLhsl(107, 48%, 25%)
HSVhsv(107, 65%, 38%)
CMYKcmyk(51%, 0%, 64.6%, 62.4%)
CIE-LABlab(36.15, -29.71, 29.71)
CIE-LCHlch(36.15, 42.02, 135.00°)
OKLaboklab(43.96% -0.0815 0.0695)
OKLCHoklch(43.96% 0.107 139.6)
XYZxyz(5.6437, 9.0852, 2.9693)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6022 #532260
analogous
#4E6022 #2F6022 #226034
triadic
#2F6022 #222F60 #60222F
tetradic
#2F6022 #224E60 #532260 #603422
square
#2F6022 #224E60 #532260 #603422
split-complementary
#2F6022 #342260 #60224E
monochromatic
#0B1708 #193312 #2F6022 #458D32 #5BBA42

Accessibility & contrast

On white

7.45
#2F6022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2F6022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6022
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6022#FFFFFF#000000##FFFFFF
##2F60221.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581B
Deuteranopia (green-blind)
#5C5327
Tritanopia (blue-blind)
#2B5D53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f6022;
/* rgb */ color: rgb(47, 96, 34);
/* oklch */ color: oklch(44.0% 0.107 139.6);
Tailwind
colors: {
  custom: {
    50: '#6c8d60',
    500: '#2f6022',
    950: '#000000',
  },
}
SCSS
$custom: #2f6022;
$custom-light: #6c8d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6022",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 34
  },
  "hsl": {
    "h": 107.419,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43955,
    "c": 0.10713,
    "h": 139.6
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#2F6022
secondary
#844A94
accent
#51D7BB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2F6022

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

Preview Lab → · Contrast checker → · Palette generator →

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