#2B3D0B#2B3D0B

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

Color values

HEX#2B3D0B
RGBrgb(43, 61, 11)
HSLhsl(82, 69%, 14%)
HSVhsv(82, 82%, 24%)
CMYKcmyk(29.5%, 0%, 82%, 76.1%)
CIE-LABlab(23.25, -16.16, 26.92)
CIE-LCHlch(23.25, 31.40, 120.98°)
OKLaboklab(33.29% -0.0463 0.0604)
OKLCHoklch(33.29% 0.076 127.5)
XYZxyz(2.7254, 3.8752, 0.9209)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D0B #1D0B3D
analogous
#3D360B #2B3D0B #123D0B
triadic
#2B3D0B #0B2B3D #3D0B2B
tetradic
#2B3D0B #0B3D36 #1D0B3D #3D0B12
square
#2B3D0B #0B3D36 #1D0B3D #3D0B12
split-complementary
#2B3D0B #0B123D #360B3D
monochromatic
#121A05 #121A05 #2B3D0B #507114 #74A51E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3D0B#FFFFFF#000000##FFFFFF
##2B3D0B1.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)
#413804
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#2D3A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3d0b;
/* rgb */ color: rgb(43, 61, 11);
/* oklch */ color: oklch(33.3% 0.076 127.5);
Tailwind
colors: {
  custom: {
    50: '#66724e',
    500: '#2b3d0b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d0b;
$custom-light: #66724e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d0b",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 11
  },
  "hsl": {
    "h": 81.6,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33292,
    "c": 0.0761,
    "h": 127.5
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#2B3D0B
secondary
#472A7A
accent
#3CEC7B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B3D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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