#2B3C0C#2B3C0C

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

Color values

HEX#2B3C0C
RGBrgb(43, 60, 12)
HSLhsl(81, 67%, 14%)
HSVhsv(81, 80%, 24%)
CMYKcmyk(28.3%, 0%, 80%, 76.5%)
CIE-LABlab(22.90, -15.53, 26.12)
CIE-LCHlch(22.90, 30.38, 120.73°)
OKLaboklab(33.01% -0.0445 0.0589)
OKLCHoklch(33.01% 0.074 127.1)
XYZxyz(2.6785, 3.7718, 0.9347)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C0C #1D0C3C
analogous
#3C350C #2B3C0C #133C0C
triadic
#2B3C0C #0C2B3C #3C0C2B
tetradic
#2B3C0C #0C3C35 #1D0C3C #3C0C13
square
#2B3C0C #0C3C35 #1D0C3C #3C0C13
split-complementary
#2B3C0C #0C133C #350C3C
monochromatic
#121A05 #121A05 #2B3C0C #506F16 #74A220

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3C0C#FFFFFF#000000##FFFFFF
##2B3C0C1.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)
#403705
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#2D3932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3c0c;
/* rgb */ color: rgb(43, 60, 12);
/* oklch */ color: oklch(33.0% 0.074 127.1);
Tailwind
colors: {
  custom: {
    50: '#66714e',
    500: '#2b3c0c',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c0c;
$custom-light: #66714e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c0c",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 12
  },
  "hsl": {
    "h": 81.25,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33009,
    "c": 0.07379,
    "h": 127.1
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#2B3C0C
secondary
#472C78
accent
#3EEA7B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B3C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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