#2B4A13#2B4A13

#2B4A13 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.090 H 134.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2B4A13
RGBrgb(43, 74, 19)
HSLhsl(94, 59%, 18%)
HSVhsv(94, 74%, 29%)
CMYKcmyk(41.9%, 0%, 74.3%, 71%)
CIE-LABlab(28.00, -22.33, 28.11)
CIE-LCHlch(28.00, 35.90, 128.46°)
OKLaboklab(37.18% -0.0624 0.0642)
OKLCHoklch(37.18% 0.09 134.2)
XYZxyz(3.5625, 5.4580, 1.4818)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A13 #32134A
analogous
#464A13 #2B4A13 #134A16
triadic
#2B4A13 #132B4A #4A132B
tetradic
#2B4A13 #13464A #32134A #4A1613
square
#2B4A13 #13464A #32134A #4A1613
split-complementary
#2B4A13 #16134A #4A1346
monochromatic
#0E1806 #0F1906 #2B4A13 #477B20 #64AB2C

Accessibility & contrast

On white

10.04
#2B4A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B4A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A13
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A13#FFFFFF#000000##FFFFFF
##2B4A131.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440B
Deuteranopia (green-blind)
#494118
Tritanopia (blue-blind)
#2B473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b4a13;
/* rgb */ color: rgb(43, 74, 19);
/* oklch */ color: oklch(37.2% 0.090 134.2);
Tailwind
colors: {
  custom: {
    50: '#677d54',
    500: '#2b4a13',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a13;
$custom-light: #677d54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a13",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 19
  },
  "hsl": {
    "h": 93.818,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3718,
    "c": 0.08952,
    "h": 134.2
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#2B4A13
secondary
#613683
accent
#45E29E
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4A13

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

Preview Lab → · Contrast checker → · Palette generator →

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