#2B5611#2B5611

#2B5611 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.108 H 136.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2B5611
RGBrgb(43, 86, 17)
HSLhsl(97, 67%, 20%)
HSVhsv(97, 80%, 34%)
CMYKcmyk(50%, 0%, 80.2%, 66.3%)
CIE-LABlab(32.28, -28.23, 33.36)
CIE-LCHlch(32.28, 43.70, 130.23°)
OKLaboklab(40.68% -0.0785 0.0749)
OKLCHoklch(40.68% 0.109 136.4)
XYZxyz(4.4251, 7.2094, 1.6886)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5611 #3C1156
analogous
#4D5611 #2B5611 #115619
triadic
#2B5611 #112B56 #56112B
tetradic
#2B5611 #114D56 #3C1156 #561911
square
#2B5611 #114D56 #3C1156 #561911
split-complementary
#2B5611 #191156 #56114D
monochromatic
#0D1A05 #112307 #2B5611 #45891B #5EBC25

Accessibility & contrast

On white

8.60
#2B5611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2B5611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5611
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5611#FFFFFF#000000##FFFFFF
##2B56111.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E04
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#295349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b5611;
/* rgb */ color: rgb(43, 86, 17);
/* oklch */ color: oklch(40.7% 0.108 136.4);
Tailwind
colors: {
  custom: {
    50: '#698654',
    500: '#2b5611',
    950: '#000000',
  },
}
SCSS
$custom: #2b5611;
$custom-light: #698654;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5611",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 97.391,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40678,
    "c": 0.1085,
    "h": 136.4
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

primary
#2B5611
secondary
#6D348F
accent
#3EEAA9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5611

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

Preview Lab → · Contrast checker → · Palette generator →

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