#2F5C19#2F5C19

#2F5C19 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.7% C 0.109 H 137.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2F5C19
RGBrgb(47, 92, 25)
HSLhsl(100, 57%, 23%)
HSVhsv(100, 73%, 36%)
CMYKcmyk(48.9%, 0%, 72.8%, 63.9%)
CIE-LABlab(34.66, -28.85, 32.42)
CIE-LCHlch(34.66, 43.40, 131.66°)
OKLaboklab(42.7% -0.0799 0.0741)
OKLCHoklch(42.7% 0.109 137.1)
XYZxyz(5.1747, 8.3285, 2.2544)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C19 #46195C
analogous
#505C19 #2F5C19 #195C25
triadic
#2F5C19 #192F5C #5C192F
tetradic
#2F5C19 #19505C #46195C #5C2519
square
#2F5C19 #19505C #46195C #5C2519
split-complementary
#2F5C19 #25195C #5C1950
monochromatic
#0C1807 #162C0C #2F5C19 #488C26 #60BC33

Accessibility & contrast

On white

7.88
#2F5C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2F5C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5C19
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C19#FFFFFF#000000##FFFFFF
##2F5C191.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540F
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#2D594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f5c19;
/* rgb */ color: rgb(47, 92, 25);
/* oklch */ color: oklch(42.7% 0.109 137.1);
Tailwind
colors: {
  custom: {
    50: '#6c8a5a',
    500: '#2f5c19',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c19;
$custom-light: #6c8a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c19",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 25
  },
  "hsl": {
    "h": 100.299,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42704,
    "c": 0.10894,
    "h": 137.1
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#2F5C19
secondary
#773F92
accent
#47E1AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F5C19

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

Preview Lab → · Contrast checker → · Palette generator →

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