#2B3811#2B3811

#2B3811 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.063 H 125.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2B3811
RGBrgb(43, 56, 17)
HSLhsl(80, 53%, 14%)
HSVhsv(80, 70%, 22%)
CMYKcmyk(23.2%, 0%, 69.6%, 78%)
CIE-LABlab(21.51, -12.77, 22.10)
CIE-LCHlch(21.51, 25.53, 120.03°)
OKLaboklab(31.9% -0.0363 0.0512)
OKLCHoklch(31.9% 0.063 125.4)
XYZxyz(2.5116, 3.3824, 1.0507)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3811 #1E1138
analogous
#383211 #2B3811 #183811
triadic
#2B3811 #112B38 #38112B
tetradic
#2B3811 #113832 #1E1138 #381118
square
#2B3811 #113832 #1E1138 #381118
split-complementary
#2B3811 #111838 #321138
monochromatic
#121707 #121707 #2B3811 #4F671F #73962E

Accessibility & contrast

On white

12.53
#2B3811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B3811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3811
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3811#FFFFFF#000000##FFFFFF
##2B38111.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340D
Deuteranopia (green-blind)
#3A3314
Tritanopia (blue-blind)
#2D3530
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b3811;
/* rgb */ color: rgb(43, 56, 17);
/* oklch */ color: oklch(31.9% 0.063 125.4);
Tailwind
colors: {
  custom: {
    50: '#666e51',
    500: '#2b3811',
    950: '#000000',
  },
}
SCSS
$custom: #2b3811;
$custom-light: #666e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3811",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 17
  },
  "hsl": {
    "h": 80,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31902,
    "c": 0.06277,
    "h": 125.4
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#2B3811
secondary
#483471
accent
#4BDD7C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B3811

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

Preview Lab → · Contrast checker → · Palette generator →

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