#2F6318#2F6318

#2F6318 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.120 H 137.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2F6318
RGBrgb(47, 99, 24)
HSLhsl(102, 61%, 24%)
HSVhsv(102, 76%, 39%)
CMYKcmyk(52.5%, 0%, 75.8%, 61.2%)
CIE-LABlab(37.10, -32.06, 35.40)
CIE-LCHlch(37.10, 47.76, 132.16°)
OKLaboklab(44.71% -0.0886 0.0802)
OKLCHoklch(44.71% 0.12 137.9)
XYZxyz(5.7988, 9.5936, 2.4102)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6318 #4C1863
analogous
#556318 #2F6318 #186327
triadic
#2F6318 #182F63 #63182F
tetradic
#2F6318 #185563 #4C1863 #632718
square
#2F6318 #185563 #4C1863 #632718
split-complementary
#2F6318 #271863 #631855
monochromatic
#0C1906 #18320C #2F6318 #469424 #5EC630

Accessibility & contrast

On white

7.19
#2F6318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2F6318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6318
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6318#FFFFFF#000000##FFFFFF
##2F63181.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0B
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#2B5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f6318;
/* rgb */ color: rgb(47, 99, 24);
/* oklch */ color: oklch(44.7% 0.120 137.9);
Tailwind
colors: {
  custom: {
    50: '#6d905a',
    500: '#2f6318',
    950: '#000000',
  },
}
SCSS
$custom: #2f6318;
$custom-light: #6d905a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6318",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 101.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.11952,
    "h": 137.9
  },
  "luminance": 0.09594
}

Semantic roles & 50–950 ramp

primary
#2F6318
secondary
#7D3E99
accent
#44E4B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6318

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

Preview Lab → · Contrast checker → · Palette generator →

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