#2B481F#2B481F

#2B481F is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.8% C 0.074 H 137.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2B481F
RGBrgb(43, 72, 31)
HSLhsl(102, 40%, 20%)
HSVhsv(102, 57%, 28%)
CMYKcmyk(40.3%, 0%, 56.9%, 71.8%)
CIE-LABlab(27.43, -19.88, 21.06)
CIE-LCHlch(27.43, 28.96, 133.35°)
OKLaboklab(36.76% -0.0547 0.0505)
OKLCHoklch(36.76% 0.074 137.3)
XYZxyz(3.5608, 5.2471, 2.1212)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B481F #3C1F48
analogous
#3F481F #2B481F #1F4827
triadic
#2B481F #1F2B48 #481F2B
tetradic
#2B481F #1F3F48 #3C1F48 #48271F
square
#2B481F #1F3F48 #3C1F48 #48271F
split-complementary
#2B481F #271F48 #481F3F
monochromatic
#0D1509 #111D0D #2B481F #457331 #5E9E44

Accessibility & contrast

On white

10.25
#2B481F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B481F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B481F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B481F#FFFFFF#000000##FFFFFF
##2B481F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421B
Deuteranopia (green-blind)
#464022
Tritanopia (blue-blind)
#2A463F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b481f;
/* rgb */ color: rgb(43, 72, 31);
/* oklch */ color: oklch(36.8% 0.074 137.3);
Tailwind
colors: {
  custom: {
    50: '#667b5c',
    500: '#2b481f',
    950: '#000000',
  },
}
SCSS
$custom: #2b481f;
$custom-light: #667b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b481f",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 102.439,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.36757,
    "c": 0.07439,
    "h": 137.3
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#2B481F
secondary
#6D467D
accent
#58D0AD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2B481F

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

Preview Lab → · Contrast checker → · Palette generator →

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