#2B3B0B#2B3B0B

#2B3B0B is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.7% C 0.073 H 126.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#2B3B0B
RGBrgb(43, 59, 11)
HSLhsl(80, 69%, 14%)
HSVhsv(80, 81%, 23%)
CMYKcmyk(27.1%, 0%, 81.4%, 76.9%)
CIE-LABlab(22.53, -15.04, 26.18)
CIE-LCHlch(22.53, 30.19, 119.88°)
OKLaboklab(32.71% -0.0432 0.0589)
OKLCHoklch(32.71% 0.073 126.3)
XYZxyz(2.6206, 3.6656, 0.8860)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B0B #1B0B3B
analogous
#3B330B #2B3B0B #133B0B
triadic
#2B3B0B #0B2B3B #3B0B2B
tetradic
#2B3B0B #0B3B33 #1B0B3B #3B0B13
square
#2B3B0B #0B3B33 #1B0B3B #3B0B13
split-complementary
#2B3B0B #0B133B #330B3B
monochromatic
#131A05 #131A05 #2B3B0B #516F15 #76A21E

Accessibility & contrast

On white

12.12
#2B3B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B3B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B0B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B0B#FFFFFF#000000##FFFFFF
##2B3B0B1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3604
Deuteranopia (green-blind)
#3C360F
Tritanopia (blue-blind)
#2D3832
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b3b0b;
/* rgb */ color: rgb(43, 59, 11);
/* oklch */ color: oklch(32.7% 0.073 126.3);
Tailwind
colors: {
  custom: {
    50: '#66714d',
    500: '#2b3b0b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b0b;
$custom-light: #66714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b0b",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 11
  },
  "hsl": {
    "h": 80,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32708,
    "c": 0.07305,
    "h": 126.3
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#2B3B0B
secondary
#442A78
accent
#3CEB77
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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