#2B3C0A#2B3C0A

#2B3C0A is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.0% C 0.075 H 126.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2B3C0A
RGBrgb(43, 60, 10)
HSLhsl(80, 71%, 14%)
HSVhsv(80, 83%, 24%)
CMYKcmyk(28.3%, 0%, 83.3%, 76.5%)
CIE-LABlab(22.89, -15.68, 26.96)
CIE-LCHlch(22.89, 31.19, 120.18°)
OKLaboklab(32.99% -0.0451 0.0604)
OKLCHoklch(32.99% 0.075 126.8)
XYZxyz(2.6669, 3.7672, 0.8737)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C0A #1B0A3C
analogous
#3C340A #2B3C0A #123C0A
triadic
#2B3C0A #0A2B3C #3C0A2B
tetradic
#2B3C0A #0A3C34 #1B0A3C #3C0A12
square
#2B3C0A #0A3C34 #1B0A3C #3C0A12
split-complementary
#2B3C0A #0A123C #340A3C
monochromatic
#131A04 #131A04 #2B3C0A #517013 #76A51B

Accessibility & contrast

On white

11.98
#2B3C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B3C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C0A
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C0A#FFFFFF#000000##FFFFFF
##2B3C0A1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403703
Deuteranopia (green-blind)
#3D360F
Tritanopia (blue-blind)
#2D3932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3c0a;
/* rgb */ color: rgb(43, 60, 10);
/* oklch */ color: oklch(33.0% 0.075 126.8);
Tailwind
colors: {
  custom: {
    50: '#66714d',
    500: '#2b3c0a',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c0a;
$custom-light: #66714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c0a",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 10
  },
  "hsl": {
    "h": 80.4,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32991,
    "c": 0.07534,
    "h": 126.8
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#2B3C0A
secondary
#442879
accent
#3AEE77
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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