#2B4511#2B4511

#2B4511 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.084 H 132.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2B4511
RGBrgb(43, 69, 17)
HSLhsl(90, 60%, 17%)
HSVhsv(90, 75%, 27%)
CMYKcmyk(37.7%, 0%, 75.4%, 72.9%)
CIE-LABlab(26.19, -19.96, 27.16)
CIE-LCHlch(26.19, 33.70, 126.32°)
OKLaboklab(35.69% -0.0561 0.0619)
OKLCHoklch(35.69% 0.084 132.2)
XYZxyz(3.2255, 4.8102, 1.2887)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4511 #2B1145
analogous
#454511 #2B4511 #114511
triadic
#2B4511 #112B45 #45112B
tetradic
#2B4511 #114545 #2B1145 #451111
square
#2B4511 #114545 #2B1145 #451111
split-complementary
#2B4511 #111145 #451145
monochromatic
#0F1906 #0F1906 #2B4511 #4A761D #68A729

Accessibility & contrast

On white

10.70
#2B4511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B4511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4511
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4511#FFFFFF#000000##FFFFFF
##2B45111.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0A
Deuteranopia (green-blind)
#453D15
Tritanopia (blue-blind)
#2C423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b4511;
/* rgb */ color: rgb(43, 69, 17);
/* oklch */ color: oklch(35.7% 0.084 132.2);
Tailwind
colors: {
  custom: {
    50: '#677952',
    500: '#2b4511',
    950: '#000000',
  },
}
SCSS
$custom: #2b4511;
$custom-light: #677952;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4511",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 17
  },
  "hsl": {
    "h": 90,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35693,
    "c": 0.08353,
    "h": 132.2
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#2B4511
secondary
#59337F
accent
#44E494
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4511

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

Preview Lab → · Contrast checker → · Palette generator →

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