#2B3604#2B3604

#2B3604 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.2% C 0.071 H 121.8°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#2B3604
RGBrgb(43, 54, 4)
HSLhsl(73, 86%, 11%)
HSVhsv(73, 93%, 21%)
CMYKcmyk(20.4%, 0%, 92.6%, 78.8%)
CIE-LABlab(20.68, -12.69, 27.04)
CIE-LCHlch(20.68, 29.87, 115.13°)
OKLaboklab(31.19% -0.0376 0.0607)
OKLCHoklch(31.19% 0.071 121.8)
XYZxyz(2.3374, 3.1607, 0.6018)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3604 #0F0436
analogous
#362804 #2B3604 #123604
triadic
#2B3604 #042B36 #36042B
tetradic
#2B3604 #043628 #0F0436 #360412
square
#2B3604 #043628 #0F0436 #360412
split-complementary
#2B3604 #041236 #280436
monochromatic
#171C02 #171C02 #2B3604 #586F08 #86A80C

Accessibility & contrast

On white

12.87
#2B3604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2B3604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3604
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3604#FFFFFF#000000##FFFFFF
##2B36041.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#393208
Tritanopia (blue-blind)
#2E332D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b3604;
/* rgb */ color: rgb(43, 54, 4);
/* oklch */ color: oklch(31.2% 0.071 121.8);
Tailwind
colors: {
  custom: {
    50: '#666d49',
    500: '#2b3604',
    950: '#000000',
  },
}
SCSS
$custom: #2b3604;
$custom-light: #666d49;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3604",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 4
  },
  "hsl": {
    "h": 73.2,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31187,
    "c": 0.07138,
    "h": 121.8
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#2B3604
secondary
#321E78
accent
#2BFC59
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3604

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

Preview Lab → · Contrast checker → · Palette generator →

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