#2B4911#2B4911

#2B4911 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.090 H 133.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2B4911
RGBrgb(43, 73, 17)
HSLhsl(92, 62%, 18%)
HSVhsv(92, 77%, 29%)
CMYKcmyk(41.1%, 0%, 76.7%, 71.4%)
CIE-LABlab(27.62, -22.01, 28.66)
CIE-LCHlch(27.62, 36.14, 127.53°)
OKLaboklab(36.87% -0.0617 0.065)
OKLCHoklch(36.87% 0.09 133.5)
XYZxyz(3.4799, 5.3190, 1.3735)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4911 #2F1149
analogous
#474911 #2B4911 #114913
triadic
#2B4911 #112B49 #49112B
tetradic
#2B4911 #114749 #2F1149 #491311
square
#2B4911 #114749 #2F1149 #491311
split-complementary
#2B4911 #131149 #491147
monochromatic
#0F1906 #0F1906 #2B4911 #487B1D #65AC28

Accessibility & contrast

On white

10.18
#2B4911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B4911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4911
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4911#FFFFFF#000000##FFFFFF
##2B49111.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4309
Deuteranopia (green-blind)
#484016
Tritanopia (blue-blind)
#2B463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b4911;
/* rgb */ color: rgb(43, 73, 17);
/* oklch */ color: oklch(36.9% 0.090 133.5);
Tailwind
colors: {
  custom: {
    50: '#677c53',
    500: '#2b4911',
    950: '#000000',
  },
}
SCSS
$custom: #2b4911;
$custom-light: #677c53;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4911",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 17
  },
  "hsl": {
    "h": 92.143,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36866,
    "c": 0.08964,
    "h": 133.5
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#2B4911
secondary
#5E3382
accent
#43E59A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4911

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

Preview Lab → · Contrast checker → · Palette generator →

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