#2B5929#2B5929

#2B5929 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.092 H 142.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2B5929
RGBrgb(43, 89, 41)
HSLhsl(118, 37%, 25%)
HSVhsv(118, 54%, 35%)
CMYKcmyk(51.7%, 0%, 53.9%, 65.1%)
CIE-LABlab(33.60, -26.84, 22.88)
CIE-LCHlch(33.60, 35.27, 139.55°)
OKLaboklab(41.85% -0.0731 0.0552)
OKLCHoklch(41.85% 0.092 142.9)
XYZxyz(4.9686, 7.8181, 3.3446)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5929 #572959
analogous
#435929 #2B5929 #29593F
triadic
#2B5929 #292B59 #59292B
tetradic
#2B5929 #294359 #572959 #593F29
square
#2B5929 #294359 #572959 #593F29
split-complementary
#2B5929 #3F2959 #592943
monochromatic
#0A150A #172F16 #2B5929 #3F833C #53AD50

Accessibility & contrast

On white

8.19
#2B5929 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B5929 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5929
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5929#FFFFFF#000000##FFFFFF
##2B59291.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5225
Deuteranopia (green-blind)
#554D2C
Tritanopia (blue-blind)
#25574E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5929;
/* rgb */ color: rgb(43, 89, 41);
/* oklch */ color: oklch(41.8% 0.092 142.9);
Tailwind
colors: {
  custom: {
    50: '#688864',
    500: '#2b5929',
    950: '#000000',
  },
}
SCSS
$custom: #2b5929;
$custom-light: #688864;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5929",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 41
  },
  "hsl": {
    "h": 117.5,
    "s": 36.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41846,
    "c": 0.09161,
    "h": 142.9
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#2B5929
secondary
#89528C
accent
#5BCDC8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B05
muted
#7A7C7A

Preview Lab

Preview with #2B5929

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

Preview Lab → · Contrast checker → · Palette generator →

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