#2B4A11#2B4A11

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

Color values

HEX#2B4A11
RGBrgb(43, 74, 17)
HSLhsl(93, 63%, 18%)
HSVhsv(93, 77%, 29%)
CMYKcmyk(41.9%, 0%, 77%, 71%)
CIE-LABlab(27.98, -22.51, 29.03)
CIE-LCHlch(27.98, 36.74, 127.79°)
OKLaboklab(37.16% -0.063 0.0658)
OKLCHoklch(37.16% 0.091 133.8)
XYZxyz(3.5462, 5.4515, 1.3956)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A11 #30114A
analogous
#474A11 #2B4A11 #114A14
triadic
#2B4A11 #112B4A #4A112B
tetradic
#2B4A11 #11474A #30114A #4A1411
square
#2B4A11 #11474A #30114A #4A1411
split-complementary
#2B4A11 #14114A #4A1147
monochromatic
#0E1906 #0E1906 #2B4A11 #487C1C #65AE28

Accessibility & contrast

On white

10.05
#2B4A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4A11
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A11#FFFFFF#000000##FFFFFF
##2B4A111.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4a11;
/* rgb */ color: rgb(43, 74, 17);
/* oklch */ color: oklch(37.2% 0.091 133.8);
Tailwind
colors: {
  custom: {
    50: '#677d53',
    500: '#2b4a11',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a11;
$custom-light: #677d53;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a11",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 17
  },
  "hsl": {
    "h": 92.632,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3716,
    "c": 0.09114,
    "h": 133.8
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#2B4A11
secondary
#5F3383
accent
#42E69B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4A11

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

Preview Lab → · Contrast checker → · Palette generator →

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