#2B4D11#2B4D11

#2B4D11 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.0% C 0.096 H 134.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2B4D11
RGBrgb(43, 77, 17)
HSLhsl(94, 64%, 18%)
HSVhsv(94, 78%, 30%)
CMYKcmyk(44.2%, 0%, 77.9%, 69.8%)
CIE-LABlab(29.06, -23.99, 30.13)
CIE-LCHlch(29.06, 38.52, 128.53°)
OKLaboklab(38.04% -0.0671 0.0681)
OKLCHoklch(38.04% 0.096 134.5)
XYZxyz(3.7512, 5.8616, 1.4640)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D11 #33114D
analogous
#494D11 #2B4D11 #114D15
triadic
#2B4D11 #112B4D #4D112B
tetradic
#2B4D11 #11494D #33114D #4D1511
square
#2B4D11 #11494D #33114D #4D1511
split-complementary
#2B4D11 #15114D #4D1149
monochromatic
#0E1906 #0F1B06 #2B4D11 #477F1C #63B127

Accessibility & contrast

On white

9.67
#2B4D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B4D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D11
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D11#FFFFFF#000000##FFFFFF
##2B4D111.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504607
Deuteranopia (green-blind)
#4C4317
Tritanopia (blue-blind)
#2A4A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b4d11;
/* rgb */ color: rgb(43, 77, 17);
/* oklch */ color: oklch(38.0% 0.096 134.5);
Tailwind
colors: {
  custom: {
    50: '#687f53',
    500: '#2b4d11',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d11;
$custom-light: #687f53;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d11",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 94,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3804,
    "c": 0.0956,
    "h": 134.5
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#2B4D11
secondary
#623386
accent
#41E79F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4D11

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

Preview Lab → · Contrast checker → · Palette generator →

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