#2B4910#2B4910

#2B4910 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.090 H 133.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2B4910
RGBrgb(43, 73, 16)
HSLhsl(92, 64%, 17%)
HSVhsv(92, 78%, 29%)
CMYKcmyk(41.1%, 0%, 78.1%, 71.4%)
CIE-LABlab(27.62, -22.10, 29.10)
CIE-LCHlch(27.62, 36.54, 127.21°)
OKLaboklab(36.86% -0.062 0.0658)
OKLCHoklch(36.86% 0.09 133.3)
XYZxyz(3.4723, 5.3159, 1.3332)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4910 #2E1049
analogous
#484910 #2B4910 #104912
triadic
#2B4910 #102B49 #49102B
tetradic
#2B4910 #104849 #2E1049 #491210
square
#2B4910 #104849 #2E1049 #491210
split-complementary
#2B4910 #121049 #491048
monochromatic
#0F1906 #0F1906 #2B4910 #497B1B #66AD26

Accessibility & contrast

On white

10.18
#2B4910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B4910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4910
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4910#FFFFFF#000000##FFFFFF
##2B49101.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4307
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#2B463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b4910;
/* rgb */ color: rgb(43, 73, 16);
/* oklch */ color: oklch(36.9% 0.090 133.3);
Tailwind
colors: {
  custom: {
    50: '#677c52',
    500: '#2b4910',
    950: '#000000',
  },
}
SCSS
$custom: #2b4910;
$custom-light: #677c52;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4910",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 91.579,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36857,
    "c": 0.09042,
    "h": 133.3
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#2B4910
secondary
#5D3283
accent
#41E798
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4910

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

Preview Lab → · Contrast checker → · Palette generator →

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