#2B3B04#2B3B04

#2B3B04 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.079 H 125.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#2B3B04
RGBrgb(43, 59, 4)
HSLhsl(77, 87%, 12%)
HSVhsv(77, 93%, 23%)
CMYKcmyk(27.1%, 0%, 93.2%, 76.9%)
CIE-LABlab(22.48, -15.55, 28.98)
CIE-LCHlch(22.48, 32.89, 118.22°)
OKLaboklab(32.65% -0.0454 0.064)
OKLCHoklch(32.65% 0.079 125.3)
XYZxyz(2.5822, 3.6503, 0.6834)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B04 #14043B
analogous
#3B3004 #2B3B04 #0F3B04
triadic
#2B3B04 #042B3B #3B042B
tetradic
#2B3B04 #043B30 #14043B #3B040F
square
#2B3B04 #043B30 #14043B #3B040F
split-complementary
#2B3B04 #040F3B #30043B
monochromatic
#151D02 #151D02 #2B3B04 #557408 #7FAE0C

Accessibility & contrast

On white

12.14
#2B3B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B3B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B04
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B04#FFFFFF#000000##FFFFFF
##2B3B041.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3D3509
Tritanopia (blue-blind)
#2D3831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b3b04;
/* rgb */ color: rgb(43, 59, 4);
/* oklch */ color: oklch(32.6% 0.079 125.3);
Tailwind
colors: {
  custom: {
    50: '#67714a',
    500: '#2b3b04',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b04;
$custom-light: #67714a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b04",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 77.455,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32647,
    "c": 0.0785,
    "h": 125.3
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#2B3B04
secondary
#3A1E7D
accent
#2AFD68
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3B04

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

Preview Lab → · Contrast checker → · Palette generator →

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