#2B642F#2B642F

#2B642F is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.103 H 145.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2B642F
RGBrgb(43, 100, 47)
HSLhsl(124, 40%, 28%)
HSVhsv(124, 57%, 39%)
CMYKcmyk(57%, 0%, 53%, 60.8%)
CIE-LABlab(37.54, -30.96, 24.38)
CIE-LCHlch(37.54, 39.41, 141.79°)
OKLaboklab(45.11% -0.084 0.0589)
OKLCHoklch(45.11% 0.103 145)
XYZxyz(6.0662, 9.8327, 4.2670)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B642F #642B60
analogous
#43642B #2B642F #2B644B
triadic
#2B642F #2F2B64 #642F2B
tetradic
#2B642F #2B4364 #642B60 #644B2B
square
#2B642F #2B4364 #642B60 #644B2B
split-complementary
#2B642F #4B2B64 #642B43
monochromatic
#09150A #19391B #2B642F #3D8F43 #54B55B

Accessibility & contrast

On white

7.08
#2B642F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2B642F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B642F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B642F#FFFFFF#000000##FFFFFF
##2B642F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B2B
Deuteranopia (green-blind)
#5E5633
Tritanopia (blue-blind)
#216258
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b642f;
/* rgb */ color: rgb(43, 100, 47);
/* oklch */ color: oklch(45.1% 0.103 145.0);
Tailwind
colors: {
  custom: {
    50: '#6a9169',
    500: '#2b642f',
    950: '#000000',
  },
}
SCSS
$custom: #2b642f;
$custom-light: #6a9169;
$custom-dark: #000000;
JSON
{
  "hex": "#2b642f",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 47
  },
  "hsl": {
    "h": 124.211,
    "s": 39.86,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45105,
    "c": 0.10263,
    "h": 145
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#2B642F
secondary
#965592
accent
#58C7D0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070D06
muted
#7A7D7A

Preview Lab

Preview with #2B642F

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

Preview Lab → · Contrast checker → · Palette generator →

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