#2B3C0F#2B3C0F

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

Color values

HEX#2B3C0F
RGBrgb(43, 60, 15)
HSLhsl(83, 60%, 15%)
HSVhsv(83, 75%, 24%)
CMYKcmyk(28.3%, 0%, 75%, 76.5%)
CIE-LABlab(22.93, -15.27, 24.70)
CIE-LCHlch(22.93, 29.04, 121.73°)
OKLaboklab(33.04% -0.0434 0.0564)
OKLCHoklch(33.04% 0.071 127.6)
XYZxyz(2.6983, 3.7797, 1.0392)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C0F #200F3C
analogous
#3C370F #2B3C0F #143C0F
triadic
#2B3C0F #0F2B3C #3C0F2B
tetradic
#2B3C0F #0F3C37 #200F3C #3C0F14
square
#2B3C0F #0F3C37 #200F3C #3C0F14
split-complementary
#2B3C0F #0F143C #370F3C
monochromatic
#121806 #121806 #2B3C0F #4E6D1B #719E27

Accessibility & contrast

On white

11.96
#2B3C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B3C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C0F
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C0F#FFFFFF#000000##FFFFFF
##2B3C0F1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3709
Deuteranopia (green-blind)
#3D3613
Tritanopia (blue-blind)
#2D3933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3c0f;
/* rgb */ color: rgb(43, 60, 15);
/* oklch */ color: oklch(33.0% 0.071 127.6);
Tailwind
colors: {
  custom: {
    50: '#667150',
    500: '#2b3c0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c0f;
$custom-light: #667150;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c0f",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 15
  },
  "hsl": {
    "h": 82.667,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3304,
    "c": 0.07118,
    "h": 127.6
  },
  "luminance": 0.0378
}

Semantic roles & 50–950 ramp

primary
#2B3C0F
secondary
#4B3076
accent
#45E381
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B3C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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