#2F5E1C#2F5E1C

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

Color values

HEX#2F5E1C
RGBrgb(47, 94, 28)
HSLhsl(103, 54%, 24%)
HSVhsv(103, 70%, 37%)
CMYKcmyk(50%, 0%, 70.2%, 63.1%)
CIE-LABlab(35.39, -29.46, 31.81)
CIE-LCHlch(35.39, 43.36, 132.81°)
OKLaboklab(43.31% -0.0813 0.0732)
OKLCHoklch(43.31% 0.109 138)
XYZxyz(5.3844, 8.6932, 2.4926)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E1C #4B1C5E
analogous
#505E1C #2F5E1C #1C5E2A
triadic
#2F5E1C #1C2F5E #5E1C2F
tetradic
#2F5E1C #1C505E #4B1C5E #5E2A1C
square
#2F5E1C #1C505E #4B1C5E #5E2A1C
split-complementary
#2F5E1C #2A1C5E #5E1C50
monochromatic
#0C1807 #172F0E #2F5E1C #478D2A #5EBC38

Accessibility & contrast

On white

7.67
#2F5E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5E1C
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E1C#FFFFFF#000000##FFFFFF
##2F5E1C1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615613
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#2C5B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5e1c;
/* rgb */ color: rgb(47, 94, 28);
/* oklch */ color: oklch(43.3% 0.109 138.0);
Tailwind
colors: {
  custom: {
    50: '#6c8c5c',
    500: '#2f5e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e1c;
$custom-light: #6c8c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e1c",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 28
  },
  "hsl": {
    "h": 102.727,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43311,
    "c": 0.10941,
    "h": 138
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#2F5E1C
secondary
#7C4293
accent
#4ADDB3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F5E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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