#2F6216#2F6216

#2F6216 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.120 H 137.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2F6216
RGBrgb(47, 98, 22)
HSLhsl(100, 63%, 24%)
HSVhsv(100, 78%, 38%)
CMYKcmyk(52%, 0%, 77.6%, 61.6%)
CIE-LABlab(36.74, -31.78, 35.86)
CIE-LCHlch(36.74, 47.92, 131.55°)
OKLaboklab(44.41% -0.088 0.0808)
OKLCHoklch(44.41% 0.12 137.4)
XYZxyz(5.6846, 9.3972, 2.2732)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6216 #491662
analogous
#556216 #2F6216 #166223
triadic
#2F6216 #162F62 #62162F
tetradic
#2F6216 #165562 #491662 #622316
square
#2F6216 #165562 #491662 #622316
split-complementary
#2F6216 #231662 #621655
monochromatic
#0C1906 #17300B #2F6216 #479421 #5FC62C

Accessibility & contrast

On white

7.29
#2F6216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F6216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6216
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6216#FFFFFF#000000##FFFFFF
##2F62161.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655908
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#2C5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6216;
/* rgb */ color: rgb(47, 98, 22);
/* oklch */ color: oklch(44.4% 0.120 137.4);
Tailwind
colors: {
  custom: {
    50: '#6d8f59',
    500: '#2f6216',
    950: '#000000',
  },
}
SCSS
$custom: #2f6216;
$custom-light: #6d8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6216",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 100.263,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44405,
    "c": 0.11952,
    "h": 137.4
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#2F6216
secondary
#7A3B99
accent
#41E6B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6216

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

Preview Lab → · Contrast checker → · Palette generator →

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