#2B3904#2B3904

#2B3904 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.1% C 0.076 H 124.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2B3904
RGBrgb(43, 57, 4)
HSLhsl(76, 87%, 12%)
HSVhsv(76, 93%, 22%)
CMYKcmyk(24.6%, 0%, 93%, 77.6%)
CIE-LABlab(21.76, -14.42, 28.22)
CIE-LCHlch(21.76, 31.69, 117.07°)
OKLaboklab(32.06% -0.0423 0.0627)
OKLCHoklch(32.06% 0.076 124)
XYZxyz(2.4813, 3.4486, 0.6498)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3904 #120439
analogous
#392D04 #2B3904 #113904
triadic
#2B3904 #042B39 #39042B
tetradic
#2B3904 #04392D #120439 #390411
square
#2B3904 #04392D #120439 #390411
split-complementary
#2B3904 #041139 #2D0439
monochromatic
#161D02 #161D02 #2B3904 #567208 #81AB0C

Accessibility & contrast

On white

12.43
#2B3904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3904
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3904#FFFFFF#000000##FFFFFF
##2B39041.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3904;
/* rgb */ color: rgb(43, 57, 4);
/* oklch */ color: oklch(32.1% 0.076 124.0);
Tailwind
colors: {
  custom: {
    50: '#666f4a',
    500: '#2b3904',
    950: '#000000',
  },
}
SCSS
$custom: #2b3904;
$custom-light: #666f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3904",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 75.849,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32061,
    "c": 0.07566,
    "h": 124
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#2B3904
secondary
#361E7B
accent
#2BFD62
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3904

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

Preview Lab → · Contrast checker → · Palette generator →

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