#2F6019#2F6019

#2F6019 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.9% C 0.115 H 137.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2F6019
RGBrgb(47, 96, 25)
HSLhsl(101, 59%, 24%)
HSVhsv(101, 74%, 38%)
CMYKcmyk(51%, 0%, 74%, 62.4%)
CIE-LABlab(36.06, -30.65, 33.90)
CIE-LCHlch(36.06, 45.70, 132.12°)
OKLaboklab(43.86% -0.0848 0.0772)
OKLCHoklch(43.86% 0.115 137.7)
XYZxyz(5.5304, 9.0399, 2.3730)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6019 #4A1960
analogous
#526019 #2F6019 #196026
triadic
#2F6019 #192F60 #60192F
tetradic
#2F6019 #195260 #4A1960 #602619
square
#2F6019 #195260 #4A1960 #602619
split-complementary
#2F6019 #261960 #601952
monochromatic
#0C1806 #172F0C #2F6019 #479126 #5FC132

Accessibility & contrast

On white

7.48
#2F6019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2F6019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6019
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6019#FFFFFF#000000##FFFFFF
##2F60191.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570E
Deuteranopia (green-blind)
#5D5320
Tritanopia (blue-blind)
#2C5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f6019;
/* rgb */ color: rgb(47, 96, 25);
/* oklch */ color: oklch(43.9% 0.115 137.7);
Tailwind
colors: {
  custom: {
    50: '#6d8d5a',
    500: '#2f6019',
    950: '#000000',
  },
}
SCSS
$custom: #2f6019;
$custom-light: #6d8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6019",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 25
  },
  "hsl": {
    "h": 101.408,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.11463,
    "h": 137.7
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#2F6019
secondary
#7B3F96
accent
#46E2B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6019

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

Preview Lab → · Contrast checker → · Palette generator →

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