#2B3C0B#2B3C0B

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

Color values

HEX#2B3C0B
RGBrgb(43, 60, 11)
HSLhsl(81, 69%, 14%)
HSVhsv(81, 82%, 24%)
CMYKcmyk(28.3%, 0%, 81.7%, 76.5%)
CIE-LABlab(22.89, -15.60, 26.55)
CIE-LCHlch(22.89, 30.80, 120.44°)
OKLaboklab(33% -0.0448 0.0596)
OKLCHoklch(33% 0.075 126.9)
XYZxyz(2.6725, 3.7694, 0.9033)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C0B #1C0B3C
analogous
#3C350B #2B3C0B #133C0B
triadic
#2B3C0B #0B2B3C #3C0B2B
tetradic
#2B3C0B #0B3C35 #1C0B3C #3C0B13
square
#2B3C0B #0B3C35 #1C0B3C #3C0B13
split-complementary
#2B3C0B #0B133C #350B3C
monochromatic
#131A05 #131A05 #2B3C0B #507014 #75A31E

Accessibility & contrast

On white

11.97
#2B3C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3C0B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C0B#FFFFFF#000000##FFFFFF
##2B3C0B1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3c0b;
/* rgb */ color: rgb(43, 60, 11);
/* oklch */ color: oklch(33.0% 0.075 126.9);
Tailwind
colors: {
  custom: {
    50: '#66714d',
    500: '#2b3c0b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c0b;
$custom-light: #66714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c0b",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 11
  },
  "hsl": {
    "h": 80.816,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33,
    "c": 0.07458,
    "h": 126.9
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#2B3C0B
secondary
#452A79
accent
#3CEC79
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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