#2B5F20#2B5F20

#2B5F20 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.110 H 140.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2B5F20
RGBrgb(43, 95, 32)
HSLhsl(110, 50%, 25%)
HSVhsv(110, 66%, 37%)
CMYKcmyk(54.7%, 0%, 66.3%, 62.7%)
CIE-LABlab(35.60, -30.81, 30.05)
CIE-LCHlch(35.60, 43.03, 135.71°)
OKLaboklab(43.45% -0.0844 0.07)
OKLCHoklch(43.45% 0.11 140.3)
XYZxyz(5.3490, 8.8019, 2.7833)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F20 #54205F
analogous
#4A5F20 #2B5F20 #205F35
triadic
#2B5F20 #202B5F #5F202B
tetradic
#2B5F20 #204A5F #54205F #5F3520
square
#2B5F20 #204A5F #54205F #5F3520
split-complementary
#2B5F20 #35205F #5F204A
monochromatic
#0A1708 #163111 #2B5F20 #408D2F #54BB3F

Accessibility & contrast

On white

7.61
#2B5F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2B5F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5F20
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F20#FFFFFF#000000##FFFFFF
##2B5F201.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625619
Deuteranopia (green-blind)
#5B5225
Tritanopia (blue-blind)
#265C52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b5f20;
/* rgb */ color: rgb(43, 95, 32);
/* oklch */ color: oklch(43.5% 0.110 140.3);
Tailwind
colors: {
  custom: {
    50: '#6a8d5e',
    500: '#2b5f20',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f20;
$custom-light: #6a8d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f20",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 32
  },
  "hsl": {
    "h": 109.524,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4345,
    "c": 0.10965,
    "h": 140.3
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#2B5F20
secondary
#864793
accent
#4FD9C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B5F20

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

Preview Lab → · Contrast checker → · Palette generator →

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