#2B4312#2B4312

#2B4312 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.1% C 0.080 H 131.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2B4312
RGBrgb(43, 67, 18)
HSLhsl(89, 58%, 17%)
HSVhsv(89, 73%, 26%)
CMYKcmyk(35.8%, 0%, 73.1%, 73.7%)
CIE-LABlab(25.48, -18.81, 25.91)
CIE-LCHlch(25.48, 32.02, 125.98°)
OKLaboklab(35.12% -0.0529 0.0594)
OKLCHoklch(35.12% 0.08 131.7)
XYZxyz(3.1126, 4.5715, 1.2905)
Luminance0.0457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4312 #2A1243
analogous
#434312 #2B4312 #134312
triadic
#2B4312 #122B43 #43122B
tetradic
#2B4312 #124343 #2A1243 #431213
square
#2B4312 #124343 #2A1243 #431213
split-complementary
#2B4312 #121343 #431243
monochromatic
#0F1806 #0F1806 #2B4312 #4A731F #69A32C

Accessibility & contrast

On white

10.97
#2B4312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B4312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4312
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4312#FFFFFF#000000##FFFFFF
##2B43121.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E0C
Deuteranopia (green-blind)
#433C16
Tritanopia (blue-blind)
#2C4039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b4312;
/* rgb */ color: rgb(43, 67, 18);
/* oklch */ color: oklch(35.1% 0.080 131.7);
Tailwind
colors: {
  custom: {
    50: '#667752',
    500: '#2b4312',
    950: '#000000',
  },
}
SCSS
$custom: #2b4312;
$custom-light: #667752;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4312",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 89.388,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35118,
    "c": 0.07954,
    "h": 131.7
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#2B4312
secondary
#58357C
accent
#47E192
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B4312

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

Preview Lab → · Contrast checker → · Palette generator →

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