#2B4408#2B4408

#2B4408 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.3% C 0.089 H 130.4°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2B4408
RGBrgb(43, 68, 8)
HSLhsl(85, 79%, 15%)
HSVhsv(85, 88%, 27%)
CMYKcmyk(36.8%, 0%, 88.2%, 73.3%)
CIE-LABlab(25.76, -20.12, 30.59)
CIE-LCHlch(25.76, 36.61, 123.34°)
OKLaboklab(35.32% -0.0573 0.0675)
OKLCHoklch(35.32% 0.089 130.4)
XYZxyz(3.1072, 4.6653, 0.9665)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4408 #210844
analogous
#443F08 #2B4408 #0D4408
triadic
#2B4408 #082B44 #44082B
tetradic
#2B4408 #08443F #210844 #44080D
square
#2B4408 #08443F #210844 #44080D
split-complementary
#2B4408 #080D44 #3F0844
monochromatic
#111B03 #111B03 #2B4408 #4E7B0E #70B215

Accessibility & contrast

On white

10.86
#2B4408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B4408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4408
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4408#FFFFFF#000000##FFFFFF
##2B44081.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E00
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#2C4139
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b4408;
/* rgb */ color: rgb(43, 68, 8);
/* oklch */ color: oklch(35.3% 0.089 130.4);
Tailwind
colors: {
  custom: {
    50: '#67784d',
    500: '#2b4408',
    950: '#000000',
  },
}
SCSS
$custom: #2b4408;
$custom-light: #67784d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4408",
  "rgb": {
    "r": 43,
    "g": 68,
    "b": 8
  },
  "hsl": {
    "h": 85,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.08855,
    "h": 130.4
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

primary
#2B4408
secondary
#4C2682
accent
#32F584
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2B4408

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

Preview Lab → · Contrast checker → · Palette generator →

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