#2F5D19#2F5D19

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

Color values

HEX#2F5D19
RGBrgb(47, 93, 25)
HSLhsl(101, 58%, 23%)
HSVhsv(101, 73%, 36%)
CMYKcmyk(49.5%, 0%, 73.1%, 63.5%)
CIE-LABlab(35.01, -29.30, 32.79)
CIE-LCHlch(35.01, 43.98, 131.78°)
OKLaboklab(42.99% -0.0811 0.0749)
OKLCHoklch(42.99% 0.11 137.3)
XYZxyz(5.2619, 8.5029, 2.2835)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D19 #47195D
analogous
#515D19 #2F5D19 #195D25
triadic
#2F5D19 #192F5D #5D192F
tetradic
#2F5D19 #19515D #47195D #5D2519
square
#2F5D19 #19515D #47195D #5D2519
split-complementary
#2F5D19 #25195D #5D1951
monochromatic
#0C1806 #172D0C #2F5D19 #478D26 #60BD33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F5D19#FFFFFF#000000##FFFFFF
##2F5D191.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)
#60550F
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#2C5A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5d19;
/* rgb */ color: rgb(47, 93, 25);
/* oklch */ color: oklch(43.0% 0.110 137.3);
Tailwind
colors: {
  custom: {
    50: '#6c8b5a',
    500: '#2f5d19',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d19;
$custom-light: #6c8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d19",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 100.588,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.11038,
    "h": 137.3
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#2F5D19
secondary
#783F93
accent
#47E1AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F5D19

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

Preview Lab → · Contrast checker → · Palette generator →

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