#2F6218#2F6218

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

Color values

HEX#2F6218
RGBrgb(47, 98, 24)
HSLhsl(101, 61%, 24%)
HSVhsv(101, 76%, 38%)
CMYKcmyk(52%, 0%, 75.5%, 61.6%)
CIE-LABlab(36.75, -31.62, 35.04)
CIE-LCHlch(36.75, 47.20, 132.06°)
OKLaboklab(44.42% -0.0874 0.0794)
OKLCHoklch(44.42% 0.118 137.7)
XYZxyz(5.7047, 9.4053, 2.3788)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6218 #4B1862
analogous
#546218 #2F6218 #186226
triadic
#2F6218 #182F62 #62182F
tetradic
#2F6218 #185462 #4B1862 #622618
square
#2F6218 #185462 #4B1862 #622618
split-complementary
#2F6218 #261862 #621854
monochromatic
#0C1906 #17310C #2F6218 #479324 #5EC430

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6218#FFFFFF#000000##FFFFFF
##2F62181.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)
#65590C
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#2C5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6218;
/* rgb */ color: rgb(47, 98, 24);
/* oklch */ color: oklch(44.4% 0.118 137.7);
Tailwind
colors: {
  custom: {
    50: '#6d8f5a',
    500: '#2f6218',
    950: '#000000',
  },
}
SCSS
$custom: #2f6218;
$custom-light: #6d8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6218",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 101.351,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44422,
    "c": 0.11814,
    "h": 137.7
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#2F6218
secondary
#7C3E98
accent
#44E4B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6218

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

Preview Lab → · Contrast checker → · Palette generator →

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