#2B501F#2B501F

#2B501F is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.088 H 138.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2B501F
RGBrgb(43, 80, 31)
HSLhsl(105, 44%, 22%)
HSVhsv(105, 61%, 31%)
CMYKcmyk(46.2%, 0%, 61.2%, 68.6%)
CIE-LABlab(30.28, -23.95, 24.46)
CIE-LCHlch(30.28, 34.23, 134.39°)
OKLaboklab(39.08% -0.0658 0.0579)
OKLCHoklch(39.08% 0.088 138.6)
XYZxyz(4.1121, 6.3496, 2.3050)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B501F #441F50
analogous
#44501F #2B501F #1F502C
triadic
#2B501F #1F2B50 #501F2B
tetradic
#2B501F #1F4450 #441F50 #502C1F
square
#2B501F #1F4450 #441F50 #502C1F
split-complementary
#2B501F #2C1F50 #501F44
monochromatic
#0C1609 #13240E #2B501F #437C30 #5AA841

Accessibility & contrast

On white

9.25
#2B501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B501F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B501F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B501F#FFFFFF#000000##FFFFFF
##2B501F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491A
Deuteranopia (green-blind)
#4D4623
Tritanopia (blue-blind)
#294D45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b501f;
/* rgb */ color: rgb(43, 80, 31);
/* oklch */ color: oklch(39.1% 0.088 138.6);
Tailwind
colors: {
  custom: {
    50: '#67815c',
    500: '#2b501f',
    950: '#000000',
  },
}
SCSS
$custom: #2b501f;
$custom-light: #67815c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b501f",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 105.306,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39082,
    "c": 0.08764,
    "h": 138.6
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#2B501F
secondary
#754685
accent
#54D4B5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2B501F

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

Preview Lab → · Contrast checker → · Palette generator →

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