#2F5E18#2F5E18

#2F5E18 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.113 H 137.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2F5E18
RGBrgb(47, 94, 24)
HSLhsl(100, 59%, 23%)
HSVhsv(100, 74%, 37%)
CMYKcmyk(50%, 0%, 74.5%, 63.1%)
CIE-LABlab(35.35, -29.85, 33.60)
CIE-LCHlch(35.35, 44.94, 131.62°)
OKLaboklab(43.27% -0.0826 0.0764)
OKLCHoklch(43.27% 0.113 137.2)
XYZxyz(5.3397, 8.6753, 2.2571)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E18 #47185E
analogous
#525E18 #2F5E18 #185E24
triadic
#2F5E18 #182F5E #5E182F
tetradic
#2F5E18 #18525E #47185E #5E2418
square
#2F5E18 #18525E #47185E #5E2418
split-complementary
#2F5E18 #24185E #5E1852
monochromatic
#0C1806 #172D0C #2F5E18 #478F24 #60C031

Accessibility & contrast

On white

7.68
#2F5E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2F5E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5E18
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E18#FFFFFF#000000##FFFFFF
##2F5E181.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560D
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#2C5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5e18;
/* rgb */ color: rgb(47, 94, 24);
/* oklch */ color: oklch(43.3% 0.113 137.2);
Tailwind
colors: {
  custom: {
    50: '#6c8c59',
    500: '#2f5e18',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e18;
$custom-light: #6c8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e18",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 100.286,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43271,
    "c": 0.11255,
    "h": 137.2
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#2F5E18
secondary
#783D94
accent
#45E3AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F5E18

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

Preview Lab → · Contrast checker → · Palette generator →

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