#2B3E0B#2B3E0B

#2B3E0B is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.078 H 128.0°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2B3E0B
RGBrgb(43, 62, 11)
HSLhsl(82, 70%, 14%)
HSVhsv(82, 82%, 24%)
CMYKcmyk(30.6%, 0%, 82.3%, 75.7%)
CIE-LABlab(23.61, -16.71, 27.29)
CIE-LCHlch(23.61, 32.00, 121.49°)
OKLaboklab(33.59% -0.0478 0.0611)
OKLCHoklch(33.59% 0.078 128)
XYZxyz(2.7793, 3.9829, 0.9389)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E0B #1E0B3E
analogous
#3E380B #2B3E0B #123E0B
triadic
#2B3E0B #0B2B3E #3E0B2B
tetradic
#2B3E0B #0B3E38 #1E0B3E #3E0B12
square
#2B3E0B #0B3E38 #1E0B3E #3E0B12
split-complementary
#2B3E0B #0B123E #380B3E
monochromatic
#121A05 #121A05 #2B3E0B #4F7214 #73A61D

Accessibility & contrast

On white

11.69
#2B3E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B3E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E0B
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E0B#FFFFFF#000000##FFFFFF
##2B3E0B1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423904
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#2D3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b3e0b;
/* rgb */ color: rgb(43, 62, 11);
/* oklch */ color: oklch(33.6% 0.078 128.0);
Tailwind
colors: {
  custom: {
    50: '#66734e',
    500: '#2b3e0b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e0b;
$custom-light: #66734e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e0b",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 11
  },
  "hsl": {
    "h": 82.353,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33585,
    "c": 0.07761,
    "h": 128
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#2B3E0B
secondary
#482A7B
accent
#3BED7D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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