#2B4512#2B4512

#2B4512 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.083 H 132.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2B4512
RGBrgb(43, 69, 18)
HSLhsl(91, 59%, 17%)
HSVhsv(91, 74%, 27%)
CMYKcmyk(37.7%, 0%, 73.9%, 72.9%)
CIE-LABlab(26.20, -19.87, 26.68)
CIE-LCHlch(26.20, 33.27, 126.67°)
OKLaboklab(35.7% -0.0557 0.0611)
OKLCHoklch(35.7% 0.083 132.4)
XYZxyz(3.2335, 4.8134, 1.3309)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4512 #2C1245
analogous
#454512 #2B4512 #124512
triadic
#2B4512 #122B45 #45122B
tetradic
#2B4512 #124545 #2C1245 #451212
square
#2B4512 #124545 #2C1245 #451212
split-complementary
#2B4512 #121245 #451245
monochromatic
#0F1806 #0F1806 #2B4512 #49761F #67A62B

Accessibility & contrast

On white

10.70
#2B4512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B4512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4512
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4512#FFFFFF#000000##FFFFFF
##2B45121.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0B
Deuteranopia (green-blind)
#453D16
Tritanopia (blue-blind)
#2C423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b4512;
/* rgb */ color: rgb(43, 69, 18);
/* oklch */ color: oklch(35.7% 0.083 132.4);
Tailwind
colors: {
  custom: {
    50: '#677953',
    500: '#2b4512',
    950: '#000000',
  },
}
SCSS
$custom: #2b4512;
$custom-light: #677953;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4512",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 90.588,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35704,
    "c": 0.08268,
    "h": 132.4
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#2B4512
secondary
#5A357E
accent
#46E295
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4512

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

Preview Lab → · Contrast checker → · Palette generator →

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