#2B4B0D#2B4B0D

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

Color values

HEX#2B4B0D
RGBrgb(43, 75, 13)
HSLhsl(91, 70%, 17%)
HSVhsv(91, 83%, 29%)
CMYKcmyk(42.7%, 0%, 82.7%, 70.6%)
CIE-LABlab(28.31, -23.32, 31.07)
CIE-LCHlch(28.31, 38.85, 126.89°)
OKLaboklab(37.42% -0.0656 0.0694)
OKLCHoklch(37.42% 0.096 133.4)
XYZxyz(3.5849, 5.5746, 1.2678)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B0D #2D0D4B
analogous
#4A4B0D #2B4B0D #0D4B0E
triadic
#2B4B0D #0D2B4B #4B0D2B
tetradic
#2B4B0D #0D4A4B #2D0D4B #4B0E0D
square
#2B4B0D #0D4A4B #2D0D4B #4B0E0D
split-complementary
#2B4B0D #0E0D4B #4B0D4A
monochromatic
#0F1A05 #0F1A05 #2B4B0D #497F16 #67B31F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4B0D#FFFFFF#000000##FFFFFF
##2B4B0D1.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)
#4E4402
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#2B483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b4b0d;
/* rgb */ color: rgb(43, 75, 13);
/* oklch */ color: oklch(37.4% 0.096 133.4);
Tailwind
colors: {
  custom: {
    50: '#687d51',
    500: '#2b4b0d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b0d;
$custom-light: #687d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b0d",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 90.968,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37419,
    "c": 0.0955,
    "h": 133.4
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#2B4B0D
secondary
#5B2E86
accent
#3BED97
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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