#2B580E#2B580E

#2B580E is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.113 H 136.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2B580E
RGBrgb(43, 88, 14)
HSLhsl(96, 73%, 20%)
HSVhsv(96, 84%, 35%)
CMYKcmyk(51.1%, 0%, 84.1%, 65.5%)
CIE-LABlab(32.97, -29.34, 35.17)
CIE-LCHlch(32.97, 45.80, 129.83°)
OKLaboklab(41.24% -0.0817 0.0782)
OKLCHoklch(41.24% 0.113 136.3)
XYZxyz(4.5651, 7.5244, 1.6272)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B580E #3B0E58
analogous
#50580E #2B580E #0E5816
triadic
#2B580E #0E2B58 #580E2B
tetradic
#2B580E #0E5058 #3B0E58 #58160E
square
#2B580E #0E5058 #3B0E58 #58160E
split-complementary
#2B580E #160E58 #580E50
monochromatic
#0D1A04 #112306 #2B580E #458D16 #5FC21F

Accessibility & contrast

On white

8.38
#2B580E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B580E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B580E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B580E#FFFFFF#000000##FFFFFF
##2B580E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5000
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#29544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b580e;
/* rgb */ color: rgb(43, 88, 14);
/* oklch */ color: oklch(41.2% 0.113 136.3);
Tailwind
colors: {
  custom: {
    50: '#6a8753',
    500: '#2b580e',
    950: '#000000',
  },
}
SCSS
$custom: #2b580e;
$custom-light: #6a8753;
$custom-dark: #000000;
JSON
{
  "hex": "#2b580e",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 14
  },
  "hsl": {
    "h": 96.486,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.41242,
    "c": 0.11309,
    "h": 136.3
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#2B580E
secondary
#6C3092
accent
#39EFA8
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B580E

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

Preview Lab → · Contrast checker → · Palette generator →

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