#2B4912#2B4912

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

Color values

HEX#2B4912
RGBrgb(43, 73, 18)
HSLhsl(93, 60%, 18%)
HSVhsv(93, 75%, 29%)
CMYKcmyk(41.1%, 0%, 75.3%, 71.4%)
CIE-LABlab(27.63, -21.92, 28.20)
CIE-LCHlch(27.63, 35.72, 127.86°)
OKLaboklab(36.88% -0.0613 0.0642)
OKLCHoklch(36.88% 0.089 133.7)
XYZxyz(3.4879, 5.3222, 1.4157)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4912 #301249
analogous
#464912 #2B4912 #124914
triadic
#2B4912 #122B49 #49122B
tetradic
#2B4912 #124649 #301249 #491412
square
#2B4912 #124649 #301249 #491412
split-complementary
#2B4912 #141249 #491246
monochromatic
#0E1906 #0E1906 #2B4912 #487A1E #65AB2A

Accessibility & contrast

On white

10.17
#2B4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4912
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4912#FFFFFF#000000##FFFFFF
##2B49121.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4912;
/* rgb */ color: rgb(43, 73, 18);
/* oklch */ color: oklch(36.9% 0.089 133.7);
Tailwind
colors: {
  custom: {
    50: '#677c53',
    500: '#2b4912',
    950: '#000000',
  },
}
SCSS
$custom: #2b4912;
$custom-light: #677c53;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4912",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 92.727,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36876,
    "c": 0.08883,
    "h": 133.7
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#2B4912
secondary
#5F3582
accent
#44E49B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4912

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

Preview Lab → · Contrast checker → · Palette generator →

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