#2B4916#2B4916

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

Color values

HEX#2B4916
RGBrgb(43, 73, 22)
HSLhsl(95, 54%, 19%)
HSVhsv(95, 70%, 29%)
CMYKcmyk(41.1%, 0%, 69.9%, 71.4%)
CIE-LABlab(27.67, -21.53, 26.28)
CIE-LCHlch(27.67, 33.97, 129.32°)
OKLaboklab(36.92% -0.0599 0.0608)
OKLCHoklch(36.92% 0.085 134.6)
XYZxyz(3.5235, 5.3364, 1.6033)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4916 #341649
analogous
#444916 #2B4916 #16491A
triadic
#2B4916 #162B49 #49162B
tetradic
#2B4916 #164449 #341649 #491A16
square
#2B4916 #164449 #341649 #491A16
split-complementary
#2B4916 #1A1649 #491644
monochromatic
#0E1807 #0F1A08 #2B4916 #477824 #62A732

Accessibility & contrast

On white

10.16
#2B4916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B4916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4916
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4916#FFFFFF#000000##FFFFFF
##2B49161.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4310
Deuteranopia (green-blind)
#48401A
Tritanopia (blue-blind)
#2B463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b4916;
/* rgb */ color: rgb(43, 73, 22);
/* oklch */ color: oklch(36.9% 0.085 134.6);
Tailwind
colors: {
  custom: {
    50: '#677c56',
    500: '#2b4916',
    950: '#000000',
  },
}
SCSS
$custom: #2b4916;
$custom-light: #677c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4916",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 22
  },
  "hsl": {
    "h": 95.294,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.08533,
    "h": 134.6
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#2B4916
secondary
#643A80
accent
#4BDDA1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4916

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

Preview Lab → · Contrast checker → · Palette generator →

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