#2B4308#2B4308

#2B4308 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.087 H 130.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2B4308
RGBrgb(43, 67, 8)
HSLhsl(84, 79%, 15%)
HSVhsv(84, 88%, 26%)
CMYKcmyk(35.8%, 0%, 88.1%, 73.7%)
CIE-LABlab(25.40, -19.60, 30.25)
CIE-LCHlch(25.40, 36.05, 122.94°)
OKLaboklab(35.03% -0.0559 0.0668)
OKLCHoklch(35.03% 0.087 130)
XYZxyz(3.0472, 4.5453, 0.9465)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4308 #200843
analogous
#433E08 #2B4308 #0D4308
triadic
#2B4308 #082B43 #43082B
tetradic
#2B4308 #08433E #200843 #43080D
square
#2B4308 #08433E #200843 #43080D
split-complementary
#2B4308 #080D43 #3E0843
monochromatic
#121B03 #121B03 #2B4308 #4E7A0F #71B015

Accessibility & contrast

On white

11.00
#2B4308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B4308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4308
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4308#FFFFFF#000000##FFFFFF
##2B43081.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473D00
Deuteranopia (green-blind)
#433C0E
Tritanopia (blue-blind)
#2C4038
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b4308;
/* rgb */ color: rgb(43, 67, 8);
/* oklch */ color: oklch(35.0% 0.087 130.0);
Tailwind
colors: {
  custom: {
    50: '#67774d',
    500: '#2b4308',
    950: '#000000',
  },
}
SCSS
$custom: #2b4308;
$custom-light: #67774d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4308",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 84.407,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35028,
    "c": 0.08711,
    "h": 130
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#2B4308
secondary
#4B2581
accent
#33F582
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B4308

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

Preview Lab → · Contrast checker → · Palette generator →

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