#2B3607#2B3607

#2B3607 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.2% C 0.069 H 122.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#2B3607
RGBrgb(43, 54, 7)
HSLhsl(74, 77%, 12%)
HSVhsv(74, 87%, 21%)
CMYKcmyk(20.4%, 0%, 87%, 78.8%)
CIE-LABlab(20.70, -12.46, 25.85)
CIE-LCHlch(20.70, 28.69, 115.73°)
OKLaboklab(31.22% -0.0366 0.0582)
OKLCHoklch(31.22% 0.069 122.1)
XYZxyz(2.3538, 3.1673, 0.6883)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3607 #120736
analogous
#362A07 #2B3607 #143607
triadic
#2B3607 #072B36 #36072B
tetradic
#2B3607 #07362A #120736 #360714
square
#2B3607 #07362A #120736 #360714
split-complementary
#2B3607 #071436 #2A0736
monochromatic
#161B04 #161B04 #2B3607 #566C0E #81A215

Accessibility & contrast

On white

12.86
#2B3607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2B3607 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3607
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3607#FFFFFF#000000##FFFFFF
##2B36071.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3201
Deuteranopia (green-blind)
#38320B
Tritanopia (blue-blind)
#2E332D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b3607;
/* rgb */ color: rgb(43, 54, 7);
/* oklch */ color: oklch(31.2% 0.069 122.1);
Tailwind
colors: {
  custom: {
    50: '#666d4b',
    500: '#2b3607',
    950: '#000000',
  },
}
SCSS
$custom: #2b3607;
$custom-light: #666d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3607",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 7
  },
  "hsl": {
    "h": 74.043,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31215,
    "c": 0.06876,
    "h": 122.1
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#2B3607
secondary
#362376
accent
#34F461
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3607

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

Preview Lab → · Contrast checker → · Palette generator →

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