#2B4906#2B4906

#2B4906 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.097 H 131.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2B4906
RGBrgb(43, 73, 6)
HSLhsl(87, 85%, 15%)
HSVhsv(87, 92%, 29%)
CMYKcmyk(41.1%, 0%, 91.8%, 71.4%)
CIE-LABlab(27.55, -22.78, 33.01)
CIE-LCHlch(27.55, 40.11, 124.61°)
OKLaboklab(36.78% -0.0647 0.0722)
OKLCHoklch(36.78% 0.097 131.9)
XYZxyz(3.4116, 5.2917, 1.0139)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4906 #240649
analogous
#494506 #2B4906 #094906
triadic
#2B4906 #062B49 #49062B
tetradic
#2B4906 #064945 #240649 #490609
square
#2B4906 #064945 #240649 #490609
split-complementary
#2B4906 #060949 #450649
monochromatic
#111C02 #111C02 #2B4906 #4C820B #6EBA0F

Accessibility & contrast

On white

10.20
#2B4906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4906
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4906#FFFFFF#000000##FFFFFF
##2B49061.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#49400E
Tritanopia (blue-blind)
#2C463D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b4906;
/* rgb */ color: rgb(43, 73, 6);
/* oklch */ color: oklch(36.8% 0.097 131.9);
Tailwind
colors: {
  custom: {
    50: '#687c4d',
    500: '#2b4906',
    950: '#000000',
  },
}
SCSS
$custom: #2b4906;
$custom-light: #687c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4906",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 6
  },
  "hsl": {
    "h": 86.866,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36781,
    "c": 0.0969,
    "h": 131.9
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#2B4906
secondary
#502388
accent
#2DFB89
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4906

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

Preview Lab → · Contrast checker → · Palette generator →

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