#2B4712#2B4712

#2B4712 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.3% C 0.086 H 133.1°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2B4712
RGBrgb(43, 71, 18)
HSLhsl(92, 60%, 17%)
HSVhsv(92, 75%, 28%)
CMYKcmyk(39.4%, 0%, 74.6%, 72.2%)
CIE-LABlab(26.92, -20.90, 27.44)
CIE-LCHlch(26.92, 34.50, 127.30°)
OKLaboklab(36.29% -0.0586 0.0627)
OKLCHoklch(36.29% 0.086 133.1)
XYZxyz(3.3586, 5.0636, 1.3726)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4712 #2E1247
analogous
#464712 #2B4712 #124713
triadic
#2B4712 #122B47 #47122B
tetradic
#2B4712 #124647 #2E1247 #471312
square
#2B4712 #124647 #2E1247 #471312
split-complementary
#2B4712 #131247 #471246
monochromatic
#0F1806 #0F1806 #2B4712 #49781E #66A92B

Accessibility & contrast

On white

10.43
#2B4712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B4712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4712
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4712#FFFFFF#000000##FFFFFF
##2B47121.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#463F16
Tritanopia (blue-blind)
#2B443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b4712;
/* rgb */ color: rgb(43, 71, 18);
/* oklch */ color: oklch(36.3% 0.086 133.1);
Tailwind
colors: {
  custom: {
    50: '#677a53',
    500: '#2b4712',
    950: '#000000',
  },
}
SCSS
$custom: #2b4712;
$custom-light: #677a53;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4712",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 91.698,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3629,
    "c": 0.08576,
    "h": 133.1
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#2B4712
secondary
#5D3580
accent
#45E398
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4712

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

Preview Lab → · Contrast checker → · Palette generator →

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