#2B3D0C#2B3D0C

#2B3D0C is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.075 H 127.6°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2B3D0C
RGBrgb(43, 61, 12)
HSLhsl(82, 67%, 14%)
HSVhsv(82, 80%, 24%)
CMYKcmyk(29.5%, 0%, 80.3%, 76.1%)
CIE-LABlab(23.26, -16.08, 26.49)
CIE-LCHlch(23.26, 30.99, 121.27°)
OKLaboklab(33.3% -0.046 0.0596)
OKLCHoklch(33.3% 0.075 127.6)
XYZxyz(2.7314, 3.8776, 0.9523)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D0C #1E0C3D
analogous
#3D370C #2B3D0C #133D0C
triadic
#2B3D0C #0C2B3D #3D0C2B
tetradic
#2B3D0C #0C3D37 #1E0C3D #3D0C13
square
#2B3D0C #0C3D37 #1E0C3D #3D0C13
split-complementary
#2B3D0C #0C133D #370C3D
monochromatic
#121A05 #121A05 #2B3D0C #4F7016 #73A320

Accessibility & contrast

On white

11.83
#2B3D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B3D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D0C
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D0C#FFFFFF#000000##FFFFFF
##2B3D0C1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403805
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#2D3A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3d0c;
/* rgb */ color: rgb(43, 61, 12);
/* oklch */ color: oklch(33.3% 0.075 127.6);
Tailwind
colors: {
  custom: {
    50: '#66724e',
    500: '#2b3d0c',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d0c;
$custom-light: #66724e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d0c",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 12
  },
  "hsl": {
    "h": 82.041,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33301,
    "c": 0.07531,
    "h": 127.6
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#2B3D0C
secondary
#482C79
accent
#3EEA7D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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