#2F5928#2F5928

#2F5928 is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.0% C 0.090 H 140.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2F5928
RGBrgb(47, 89, 40)
HSLhsl(111, 38%, 25%)
HSVhsv(111, 55%, 35%)
CMYKcmyk(47.2%, 0%, 55.1%, 65.1%)
CIE-LABlab(33.78, -25.63, 23.71)
CIE-LCHlch(33.78, 34.92, 137.24°)
OKLaboklab(42.04% -0.07 0.057)
OKLCHoklch(42.04% 0.09 140.9)
XYZxyz(5.1275, 7.9020, 3.2621)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5928 #522859
analogous
#475928 #2F5928 #28593A
triadic
#2F5928 #282F59 #59282F
tetradic
#2F5928 #284759 #522859 #593A28
square
#2F5928 #284759 #522859 #593A28
split-complementary
#2F5928 #3A2859 #592847
monochromatic
#0B1509 #192F15 #2F5928 #45833B #5CAD4E

Accessibility & contrast

On white

8.14
#2F5928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2F5928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5928
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5928#FFFFFF#000000##FFFFFF
##2F59281.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#554E2B
Tritanopia (blue-blind)
#2B564E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f5928;
/* rgb */ color: rgb(47, 89, 40);
/* oklch */ color: oklch(42.0% 0.090 140.9);
Tailwind
colors: {
  custom: {
    50: '#6b8863',
    500: '#2f5928',
    950: '#000000',
  },
}
SCSS
$custom: #2f5928;
$custom-light: #6b8863;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5928",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 40
  },
  "hsl": {
    "h": 111.429,
    "s": 37.984,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42039,
    "c": 0.09029,
    "h": 140.9
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#2F5928
secondary
#83518C
accent
#5ACEBD
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070B05
muted
#7A7C79

Preview Lab

Preview with #2F5928

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

Preview Lab → · Contrast checker → · Palette generator →

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