#2F6018#2F6018

#2F6018 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.8% C 0.115 H 137.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2F6018
RGBrgb(47, 96, 24)
HSLhsl(101, 60%, 24%)
HSVhsv(101, 75%, 38%)
CMYKcmyk(51%, 0%, 75%, 62.4%)
CIE-LABlab(36.05, -30.74, 34.32)
CIE-LCHlch(36.05, 46.07, 131.85°)
OKLaboklab(43.85% -0.0851 0.0779)
OKLCHoklch(43.85% 0.115 137.5)
XYZxyz(5.5199, 9.0357, 2.3172)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6018 #491860
analogous
#536018 #2F6018 #186025
triadic
#2F6018 #182F60 #60182F
tetradic
#2F6018 #185360 #491860 #602518
square
#2F6018 #185360 #491860 #602518
split-complementary
#2F6018 #251860 #601853
monochromatic
#0C1806 #172F0C #2F6018 #479124 #5FC230

Accessibility & contrast

On white

7.48
#2F6018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2F6018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6018
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6018#FFFFFF#000000##FFFFFF
##2F60181.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#2C5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f6018;
/* rgb */ color: rgb(47, 96, 24);
/* oklch */ color: oklch(43.8% 0.115 137.5);
Tailwind
colors: {
  custom: {
    50: '#6d8d5a',
    500: '#2f6018',
    950: '#000000',
  },
}
SCSS
$custom: #2f6018;
$custom-light: #6d8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6018",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 100.833,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.11536,
    "h": 137.5
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#2F6018
secondary
#7A3D96
accent
#45E3B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6018

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

Preview Lab → · Contrast checker → · Palette generator →

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