#2B4A0B#2B4A0B

#2B4A0B is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.095 H 132.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2B4A0B
RGBrgb(43, 74, 11)
HSLhsl(90, 74%, 17%)
HSVhsv(90, 85%, 29%)
CMYKcmyk(41.9%, 0%, 85.1%, 71%)
CIE-LABlab(27.94, -22.97, 31.49)
CIE-LCHlch(27.94, 38.97, 126.10°)
OKLaboklab(37.11% -0.0648 0.0699)
OKLCHoklch(37.11% 0.095 132.8)
XYZxyz(3.5054, 5.4352, 1.1809)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A0B #2A0B4A
analogous
#4A4A0B #2B4A0B #0B4A0B
triadic
#2B4A0B #0B2B4A #4A0B2B
tetradic
#2B4A0B #0B4A4A #2A0B4A #4A0B0B
square
#2B4A0B #0B4A4A #2A0B4A #4A0B0B
split-complementary
#2B4A0B #0B0B4A #4A0B4A
monochromatic
#0F1B04 #0F1B04 #2B4A0B #4A7F13 #69B51B

Accessibility & contrast

On white

10.06
#2B4A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B4A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A0B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A0B#FFFFFF#000000##FFFFFF
##2B4A0B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#494112
Tritanopia (blue-blind)
#2B473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b4a0b;
/* rgb */ color: rgb(43, 74, 11);
/* oklch */ color: oklch(37.1% 0.095 132.8);
Tailwind
colors: {
  custom: {
    50: '#687d50',
    500: '#2b4a0b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a0b;
$custom-light: #687d50;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a0b",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 89.524,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3711,
    "c": 0.09533,
    "h": 132.8
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#2B4A0B
secondary
#582B86
accent
#37F192
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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