#2F631A#2F631A

#2F631A is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.118 H 138.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2F631A
RGBrgb(47, 99, 26)
HSLhsl(103, 58%, 25%)
HSVhsv(103, 74%, 39%)
CMYKcmyk(52.5%, 0%, 73.7%, 61.2%)
CIE-LABlab(37.12, -31.88, 34.56)
CIE-LCHlch(37.12, 47.02, 132.69°)
OKLaboklab(44.73% -0.088 0.0787)
OKLCHoklch(44.73% 0.118 138.2)
XYZxyz(5.8204, 9.6022, 2.5238)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F631A #4E1A63
analogous
#54631A #2F631A #1A632A
triadic
#2F631A #1A2F63 #631A2F
tetradic
#2F631A #1A5463 #4E1A63 #632A1A
square
#2F631A #1A5463 #4E1A63 #632A1A
split-complementary
#2F631A #2A1A63 #631A54
monochromatic
#0C1806 #18330D #2F631A #469327 #5DC433

Accessibility & contrast

On white

7.19
#2F631A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F631A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F631A#FFFFFF#000000##FFFFFF
##2F631A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0F
Deuteranopia (green-blind)
#5F5621
Tritanopia (blue-blind)
#2B5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f631a;
/* rgb */ color: rgb(47, 99, 26);
/* oklch */ color: oklch(44.7% 0.118 138.2);
Tailwind
colors: {
  custom: {
    50: '#6d905b',
    500: '#2f631a',
    950: '#000000',
  },
}
SCSS
$custom: #2f631a;
$custom-light: #6d905b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f631a",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 26
  },
  "hsl": {
    "h": 102.74,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.11807,
    "h": 138.2
  },
  "luminance": 0.09603
}

Semantic roles & 50–950 ramp

primary
#2F631A
secondary
#7F4099
accent
#46E2B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F631A

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

Preview Lab → · Contrast checker → · Palette generator →

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