#2B3911#2B3911

#2B3911 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.064 H 126.1°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#2B3911
RGBrgb(43, 57, 17)
HSLhsl(81, 54%, 15%)
HSVhsv(81, 70%, 22%)
CMYKcmyk(24.6%, 0%, 70.2%, 77.6%)
CIE-LABlab(21.87, -13.36, 22.50)
CIE-LCHlch(21.87, 26.16, 120.70°)
OKLaboklab(32.19% -0.0379 0.0521)
OKLCHoklch(32.19% 0.064 126.1)
XYZxyz(2.5606, 3.4803, 1.0671)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3911 #1F1139
analogous
#393311 #2B3911 #173911
triadic
#2B3911 #112B39 #39112B
tetradic
#2B3911 #113933 #1F1139 #391117
square
#2B3911 #113933 #1F1139 #391117
split-complementary
#2B3911 #111739 #331139
monochromatic
#121807 #121807 #2B3911 #4F681F #72972D

Accessibility & contrast

On white

12.38
#2B3911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2B3911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3911
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3911#FFFFFF#000000##FFFFFF
##2B39111.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350C
Deuteranopia (green-blind)
#3A3414
Tritanopia (blue-blind)
#2D3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b3911;
/* rgb */ color: rgb(43, 57, 17);
/* oklch */ color: oklch(32.2% 0.064 126.1);
Tailwind
colors: {
  custom: {
    50: '#666f51',
    500: '#2b3911',
    950: '#000000',
  },
}
SCSS
$custom: #2b3911;
$custom-light: #666f51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3911",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 17
  },
  "hsl": {
    "h": 81,
    "s": 54.054,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32191,
    "c": 0.06441,
    "h": 126.1
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#2B3911
secondary
#493472
accent
#4ADD7E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B3911

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

Preview Lab → · Contrast checker → · Palette generator →

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