#2B4318#2B4318

#2B4318 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.074 H 133.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2B4318
RGBrgb(43, 67, 24)
HSLhsl(93, 47%, 18%)
HSVhsv(93, 64%, 26%)
CMYKcmyk(35.8%, 0%, 64.2%, 73.7%)
CIE-LABlab(25.54, -18.16, 22.81)
CIE-LCHlch(25.54, 29.15, 128.52°)
OKLaboklab(35.2% -0.0505 0.0536)
OKLCHoklch(35.2% 0.074 133.3)
XYZxyz(3.1682, 4.5937, 1.5837)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4318 #301843
analogous
#404318 #2B4318 #18431A
triadic
#2B4318 #182B43 #43182B
tetradic
#2B4318 #184043 #301843 #431A18
square
#2B4318 #184043 #301843 #431A18
split-complementary
#2B4318 #1A1843 #431840
monochromatic
#0E1708 #0E1708 #2B4318 #487028 #659D38

Accessibility & contrast

On white

10.94
#2B4318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B4318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4318
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4318#FFFFFF#000000##FFFFFF
##2B43181.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#423C1B
Tritanopia (blue-blind)
#2B403A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b4318;
/* rgb */ color: rgb(43, 67, 24);
/* oklch */ color: oklch(35.2% 0.074 133.3);
Tailwind
colors: {
  custom: {
    50: '#667756',
    500: '#2b4318',
    950: '#000000',
  },
}
SCSS
$custom: #2b4318;
$custom-light: #667756;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4318",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 24
  },
  "hsl": {
    "h": 93.488,
    "s": 47.253,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35195,
    "c": 0.07364,
    "h": 133.3
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#2B4318
secondary
#5F3D7A
accent
#51D79C
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2B4318

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

Preview Lab → · Contrast checker → · Palette generator →

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