#2B5E11#2B5E11

#2B5E11 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.0% C 0.119 H 137.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2B5E11
RGBrgb(43, 94, 17)
HSLhsl(100, 69%, 22%)
HSVhsv(100, 82%, 37%)
CMYKcmyk(54.3%, 0%, 81.9%, 63.1%)
CIE-LABlab(35.12, -31.76, 36.14)
CIE-LCHlch(35.12, 48.12, 131.31°)
OKLaboklab(43.02% -0.088 0.0807)
OKLCHoklch(43.02% 0.119 137.5)
XYZxyz(5.1000, 8.5591, 1.9135)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E11 #44115E
analogous
#525E11 #2B5E11 #115E1E
triadic
#2B5E11 #112B5E #5E112B
tetradic
#2B5E11 #11525E #44115E #5E1E11
square
#2B5E11 #11525E #44115E #5E1E11
split-complementary
#2B5E11 #1E115E #5E1152
monochromatic
#0C1A05 #132A08 #2B5E11 #43921A #5AC624

Accessibility & contrast

On white

7.74
#2B5E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2B5E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5E11
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E11#FFFFFF#000000##FFFFFF
##2B5E111.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#275A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5e11;
/* rgb */ color: rgb(43, 94, 17);
/* oklch */ color: oklch(43.0% 0.119 137.5);
Tailwind
colors: {
  custom: {
    50: '#6a8c56',
    500: '#2b5e11',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e11;
$custom-light: #6a8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e11",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 99.74,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43015,
    "c": 0.11943,
    "h": 137.5
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#2B5E11
secondary
#753497
accent
#3CECB1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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