#2B4B0E#2B4B0E

#2B4B0E is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.4% C 0.095 H 133.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2B4B0E
RGBrgb(43, 75, 14)
HSLhsl(91, 69%, 17%)
HSVhsv(91, 81%, 29%)
CMYKcmyk(42.7%, 0%, 81.3%, 70.6%)
CIE-LABlab(28.32, -23.25, 30.67)
CIE-LCHlch(28.32, 38.49, 127.17°)
OKLaboklab(37.43% -0.0653 0.0688)
OKLCHoklch(37.43% 0.095 133.5)
XYZxyz(3.5915, 5.5773, 1.3027)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B0E #2E0E4B
analogous
#4A4B0E #2B4B0E #0E4B0F
triadic
#2B4B0E #0E2B4B #4B0E2B
tetradic
#2B4B0E #0E4A4B #2E0E4B #4B0F0E
square
#2B4B0E #0E4A4B #2E0E4B #4B0F0E
split-complementary
#2B4B0E #0F0E4B #4B0E4A
monochromatic
#0F1A05 #0F1A05 #2B4B0E #497F18 #66B221

Accessibility & contrast

On white

9.93
#2B4B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B4B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B0E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B0E#FFFFFF#000000##FFFFFF
##2B4B0E1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4404
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#2B483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b4b0e;
/* rgb */ color: rgb(43, 75, 14);
/* oklch */ color: oklch(37.4% 0.095 133.5);
Tailwind
colors: {
  custom: {
    50: '#687d51',
    500: '#2b4b0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b0e;
$custom-light: #687d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b0e",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 91.475,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37427,
    "c": 0.09483,
    "h": 133.5
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#2B4B0E
secondary
#5D2F86
accent
#3CEB98
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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