#2B3A0B#2B3A0B

#2B3A0B is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.072 H 125.6°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#2B3A0B
RGBrgb(43, 58, 11)
HSLhsl(79, 68%, 14%)
HSVhsv(79, 81%, 23%)
CMYKcmyk(25.9%, 0%, 81%, 77.3%)
CIE-LABlab(22.17, -14.47, 25.80)
CIE-LCHlch(22.17, 29.58, 119.29°)
OKLaboklab(32.42% -0.0417 0.0581)
OKLCHoklch(32.42% 0.072 125.6)
XYZxyz(2.5697, 3.5638, 0.8690)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A0B #1A0B3A
analogous
#3A310B #2B3A0B #133A0B
triadic
#2B3A0B #0B2B3A #3A0B2B
tetradic
#2B3A0B #0B3A31 #1A0B3A #3A0B13
square
#2B3A0B #0B3A31 #1A0B3A #3A0B13
split-complementary
#2B3A0B #0B133A #310B3A
monochromatic
#131A05 #131A05 #2B3A0B #516D15 #77A11F

Accessibility & contrast

On white

12.26
#2B3A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B3A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A0B
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A0B#FFFFFF#000000##FFFFFF
##2B3A0B1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3605
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#2D3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b3a0b;
/* rgb */ color: rgb(43, 58, 11);
/* oklch */ color: oklch(32.4% 0.072 125.6);
Tailwind
colors: {
  custom: {
    50: '#66704d',
    500: '#2b3a0b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a0b;
$custom-light: #66704d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a0b",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 11
  },
  "hsl": {
    "h": 79.149,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32416,
    "c": 0.07152,
    "h": 125.6
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#2B3A0B
secondary
#432A77
accent
#3DEB74
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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