#2F631E#2F631E

#2F631E is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.115 H 138.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2F631E
RGBrgb(47, 99, 30)
HSLhsl(105, 53%, 25%)
HSVhsv(105, 70%, 39%)
CMYKcmyk(52.5%, 0%, 69.7%, 61.2%)
CIE-LABlab(37.15, -31.49, 32.78)
CIE-LCHlch(37.15, 45.46, 133.85°)
OKLaboklab(44.77% -0.0867 0.0755)
OKLCHoklch(44.77% 0.115 138.9)
XYZxyz(5.8683, 9.6213, 2.7759)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F631E #521E63
analogous
#51631E #2F631E #1E632F
triadic
#2F631E #1E2F63 #631E2F
tetradic
#2F631E #1E5163 #521E63 #632F1E
square
#2F631E #1E5163 #521E63 #632F1E
split-complementary
#2F631E #2F1E63 #631E51
monochromatic
#0B1707 #193410 #2F631E #45922C #5CC13A

Accessibility & contrast

On white

7.18
#2F631E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2F631E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F631E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F631E#FFFFFF#000000##FFFFFF
##2F631E1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A15
Deuteranopia (green-blind)
#5F5624
Tritanopia (blue-blind)
#2B6055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f631e;
/* rgb */ color: rgb(47, 99, 30);
/* oklch */ color: oklch(44.8% 0.115 138.9);
Tailwind
colors: {
  custom: {
    50: '#6d905d',
    500: '#2f631e',
    950: '#000000',
  },
}
SCSS
$custom: #2f631e;
$custom-light: #6d905d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f631e",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 30
  },
  "hsl": {
    "h": 105.217,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44768,
    "c": 0.11496,
    "h": 138.9
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#2F631E
secondary
#834598
accent
#4BDDB9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F631E

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

Preview Lab → · Contrast checker → · Palette generator →

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