#2B3906#2B3906

#2B3906 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.074 H 124.3°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2B3906
RGBrgb(43, 57, 6)
HSLhsl(76, 81%, 12%)
HSVhsv(76, 89%, 22%)
CMYKcmyk(24.6%, 0%, 89.5%, 77.6%)
CIE-LABlab(21.77, -14.27, 27.42)
CIE-LCHlch(21.77, 30.91, 117.50°)
OKLaboklab(32.08% -0.0417 0.0611)
OKLCHoklch(32.08% 0.074 124.3)
XYZxyz(2.4923, 3.4530, 0.7074)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3906 #140639
analogous
#392E06 #2B3906 #113906
triadic
#2B3906 #062B39 #39062B
tetradic
#2B3906 #06392E #140639 #390611
square
#2B3906 #06392E #140639 #390611
split-complementary
#2B3906 #061139 #2E0639
monochromatic
#151C03 #151C03 #2B3906 #55700C #7FA812

Accessibility & contrast

On white

12.42
#2B3906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B3906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3906
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3906#FFFFFF#000000##FFFFFF
##2B39061.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#2E362F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b3906;
/* rgb */ color: rgb(43, 57, 6);
/* oklch */ color: oklch(32.1% 0.074 124.3);
Tailwind
colors: {
  custom: {
    50: '#666f4b',
    500: '#2b3906',
    950: '#000000',
  },
}
SCSS
$custom: #2b3906;
$custom-light: #666f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3906",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 76.471,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32079,
    "c": 0.074,
    "h": 124.3
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#2B3906
secondary
#3A2279
accent
#30F767
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3906

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

Preview Lab → · Contrast checker → · Palette generator →

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