#2B3908#2B3908

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

Color values

HEX#2B3908
RGBrgb(43, 57, 8)
HSLhsl(77, 75%, 13%)
HSVhsv(77, 86%, 22%)
CMYKcmyk(24.6%, 0%, 86%, 77.6%)
CIE-LABlab(21.79, -14.13, 26.63)
CIE-LCHlch(21.79, 30.14, 117.95°)
OKLaboklab(32.1% -0.0411 0.0596)
OKLCHoklch(32.1% 0.072 124.6)
XYZxyz(2.5032, 3.4574, 0.7651)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3908 #160839
analogous
#392E08 #2B3908 #123908
triadic
#2B3908 #082B39 #39082B
tetradic
#2B3908 #08392E #160839 #390812
square
#2B3908 #08392E #160839 #390812
split-complementary
#2B3908 #081239 #2E0839
monochromatic
#141B04 #141B04 #2B3908 #536F10 #7CA417

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3908#FFFFFF#000000##FFFFFF
##2B39081.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)
#3D3502
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#2D3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b3908;
/* rgb */ color: rgb(43, 57, 8);
/* oklch */ color: oklch(32.1% 0.072 124.6);
Tailwind
colors: {
  custom: {
    50: '#666f4c',
    500: '#2b3908',
    950: '#000000',
  },
}
SCSS
$custom: #2b3908;
$custom-light: #666f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3908",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 77.143,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32097,
    "c": 0.07238,
    "h": 124.6
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#2B3908
secondary
#3D2578
accent
#36F26C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3908

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

Preview Lab → · Contrast checker → · Palette generator →

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