#2B580D#2B580D

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

Color values

HEX#2B580D
RGBrgb(43, 88, 13)
HSLhsl(96, 74%, 20%)
HSVhsv(96, 85%, 35%)
CMYKcmyk(51.1%, 0%, 85.2%, 65.5%)
CIE-LABlab(32.97, -29.40, 35.52)
CIE-LCHlch(32.97, 46.11, 129.62°)
OKLaboklab(41.24% -0.0819 0.0787)
OKLCHoklch(41.24% 0.114 136.1)
XYZxyz(4.5585, 7.5218, 1.5923)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B580D #3A0D58
analogous
#51580D #2B580D #0D5815
triadic
#2B580D #0D2B58 #580D2B
tetradic
#2B580D #0D5158 #3A0D58 #58150D
square
#2B580D #0D5158 #3A0D58 #58150D
split-complementary
#2B580D #150D58 #580D51
monochromatic
#0D1B04 #112305 #2B580D #458D15 #5FC31D

Accessibility & contrast

On white

8.39
#2B580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2B580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B580D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B580D#FFFFFF#000000##FFFFFF
##2B580D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.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: #2b580d;
/* rgb */ color: rgb(43, 88, 13);
/* oklch */ color: oklch(41.2% 0.114 136.1);
Tailwind
colors: {
  custom: {
    50: '#6a8753',
    500: '#2b580d',
    950: '#000000',
  },
}
SCSS
$custom: #2b580d;
$custom-light: #6a8753;
$custom-dark: #000000;
JSON
{
  "hex": "#2b580d",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 96,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.11364,
    "h": 136.1
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#2B580D
secondary
#6A2E93
accent
#37F1A6
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B580D

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

Preview Lab → · Contrast checker → · Palette generator →

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