#2B3308#2B3308

#2B3308 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.4% C 0.063 H 119.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#2B3308
RGBrgb(43, 51, 8)
HSLhsl(71, 73%, 12%)
HSVhsv(71, 84%, 20%)
CMYKcmyk(15.7%, 0%, 84.3%, 80%)
CIE-LABlab(19.63, -10.58, 24.24)
CIE-LCHlch(19.63, 26.45, 113.59°)
OKLaboklab(30.36% -0.0313 0.0552)
OKLCHoklch(30.36% 0.063 119.6)
XYZxyz(2.2240, 2.8988, 0.6720)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3308 #100833
analogous
#332608 #2B3308 #163308
triadic
#2B3308 #082B33 #33082B
tetradic
#2B3308 #083326 #100833 #330816
square
#2B3308 #083326 #100833 #330816
split-complementary
#2B3308 #081633 #260833
monochromatic
#161A04 #161A04 #2B3308 #586810 #849D19

Accessibility & contrast

On white

13.29
#2B3308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2B3308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3308
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3308#FFFFFF#000000##FFFFFF
##2B33081.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373003
Deuteranopia (green-blind)
#36300B
Tritanopia (blue-blind)
#2E302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b3308;
/* rgb */ color: rgb(43, 51, 8);
/* oklch */ color: oklch(30.4% 0.063 119.6);
Tailwind
colors: {
  custom: {
    50: '#666a4b',
    500: '#2b3308',
    950: '#000000',
  },
}
SCSS
$custom: #2b3308;
$custom-light: #666a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3308",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 71.163,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30357,
    "c": 0.06347,
    "h": 119.6
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#2B3308
secondary
#332572
accent
#38F05A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3308

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

Preview Lab → · Contrast checker → · Palette generator →

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