#2B4412#2B4412

#2B4412 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.081 H 132.0°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2B4412
RGBrgb(43, 68, 18)
HSLhsl(90, 58%, 17%)
HSVhsv(90, 74%, 27%)
CMYKcmyk(36.8%, 0%, 73.5%, 73.3%)
CIE-LABlab(25.84, -19.34, 26.30)
CIE-LCHlch(25.84, 32.65, 126.34°)
OKLaboklab(35.41% -0.0543 0.0602)
OKLCHoklch(35.41% 0.081 132)
XYZxyz(3.1725, 4.6914, 1.3105)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4412 #2B1244
analogous
#444412 #2B4412 #124412
triadic
#2B4412 #122B44 #44122B
tetradic
#2B4412 #124444 #2B1244 #441212
square
#2B4412 #124444 #2B1244 #441212
split-complementary
#2B4412 #121244 #441244
monochromatic
#0F1806 #0F1806 #2B4412 #4A741F #68A52C

Accessibility & contrast

On white

10.83
#2B4412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B4412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4412
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4412#FFFFFF#000000##FFFFFF
##2B44121.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0B
Deuteranopia (green-blind)
#443D16
Tritanopia (blue-blind)
#2C413A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b4412;
/* rgb */ color: rgb(43, 68, 18);
/* oklch */ color: oklch(35.4% 0.081 132.0);
Tailwind
colors: {
  custom: {
    50: '#677853',
    500: '#2b4412',
    950: '#000000',
  },
}
SCSS
$custom: #2b4412;
$custom-light: #677853;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4412",
  "rgb": {
    "r": 43,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 90,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35411,
    "c": 0.08111,
    "h": 132
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#2B4412
secondary
#59357D
accent
#46E194
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4412

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

Preview Lab → · Contrast checker → · Palette generator →

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