#2B4C0D#2B4C0D

#2B4C0D is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.097 H 133.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2B4C0D
RGBrgb(43, 76, 13)
HSLhsl(91, 71%, 17%)
HSVhsv(91, 83%, 30%)
CMYKcmyk(43.4%, 0%, 82.9%, 70.2%)
CIE-LABlab(28.67, -23.81, 31.42)
CIE-LCHlch(28.67, 39.42, 127.16°)
OKLaboklab(37.71% -0.0669 0.0702)
OKLCHoklch(37.71% 0.097 133.6)
XYZxyz(3.6533, 5.7114, 1.2906)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C0D #2E0D4C
analogous
#4A4C0D #2B4C0D #0D4C0F
triadic
#2B4C0D #0D2B4C #4C0D2B
tetradic
#2B4C0D #0D4A4C #2E0D4C #4C0F0D
square
#2B4C0D #0D4A4C #2E0D4C #4C0F0D
split-complementary
#2B4C0D #0F0D4C #4C0D4A
monochromatic
#0F1A04 #0F1A04 #2B4C0D #498016 #66B51F

Accessibility & contrast

On white

9.80
#2B4C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B4C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C0D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C0D#FFFFFF#000000##FFFFFF
##2B4C0D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4502
Deuteranopia (green-blind)
#4B4313
Tritanopia (blue-blind)
#2B4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b4c0d;
/* rgb */ color: rgb(43, 76, 13);
/* oklch */ color: oklch(37.7% 0.097 133.6);
Tailwind
colors: {
  custom: {
    50: '#687e51',
    500: '#2b4c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c0d;
$custom-light: #687e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c0d",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 91.429,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37713,
    "c": 0.09694,
    "h": 133.6
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#2B4C0D
secondary
#5D2E87
accent
#3AEE98
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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