#2B4E11#2B4E11

#2B4E11 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.097 H 134.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2B4E11
RGBrgb(43, 78, 17)
HSLhsl(94, 64%, 19%)
HSVhsv(94, 78%, 31%)
CMYKcmyk(44.9%, 0%, 78.2%, 69.4%)
CIE-LABlab(29.42, -24.48, 30.50)
CIE-LCHlch(29.42, 39.11, 128.75°)
OKLaboklab(38.33% -0.0684 0.0689)
OKLCHoklch(38.33% 0.097 134.8)
XYZxyz(3.8217, 6.0026, 1.4875)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E11 #34114E
analogous
#494E11 #2B4E11 #114E15
triadic
#2B4E11 #112B4E #4E112B
tetradic
#2B4E11 #11494E #34114E #4E1511
square
#2B4E11 #11494E #34114E #4E1511
split-complementary
#2B4E11 #15114E #4E1149
monochromatic
#0E1905 #0F1C06 #2B4E11 #47801C #62B227

Accessibility & contrast

On white

9.54
#2B4E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B4E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E11
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E11#FFFFFF#000000##FFFFFF
##2B4E111.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#2A4B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4e11;
/* rgb */ color: rgb(43, 78, 17);
/* oklch */ color: oklch(38.3% 0.097 134.8);
Tailwind
colors: {
  custom: {
    50: '#688053',
    500: '#2b4e11',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e11;
$custom-light: #688053;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e11",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 94.426,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38333,
    "c": 0.09707,
    "h": 134.8
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#2B4E11
secondary
#643387
accent
#41E7A0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4E11

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

Preview Lab → · Contrast checker → · Palette generator →

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