#2F5D18#2F5D18

#2F5D18 is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.111 H 137.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2F5D18
RGBrgb(47, 93, 24)
HSLhsl(100, 59%, 23%)
HSVhsv(100, 74%, 36%)
CMYKcmyk(49.5%, 0%, 74.2%, 63.5%)
CIE-LABlab(35.00, -29.39, 33.23)
CIE-LCHlch(35.00, 44.37, 131.49°)
OKLaboklab(42.98% -0.0814 0.0757)
OKLCHoklch(42.98% 0.111 137.1)
XYZxyz(5.2514, 8.4986, 2.2277)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D18 #46185D
analogous
#515D18 #2F5D18 #185D23
triadic
#2F5D18 #182F5D #5D182F
tetradic
#2F5D18 #18515D #46185D #5D2318
square
#2F5D18 #18515D #46185D #5D2318
split-complementary
#2F5D18 #23185D #5D1851
monochromatic
#0C1806 #162C0B #2F5D18 #488E25 #60BE31

Accessibility & contrast

On white

7.78
#2F5D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2F5D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5D18
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D18#FFFFFF#000000##FFFFFF
##2F5D181.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550E
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#2C594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5d18;
/* rgb */ color: rgb(47, 93, 24);
/* oklch */ color: oklch(43.0% 0.111 137.1);
Tailwind
colors: {
  custom: {
    50: '#6c8b59',
    500: '#2f5d18',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d18;
$custom-light: #6c8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d18",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 100,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42983,
    "c": 0.11114,
    "h": 137.1
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#2F5D18
secondary
#773D93
accent
#46E2AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F5D18

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

Preview Lab → · Contrast checker → · Palette generator →

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