#2B5F11#2B5F11

#2B5F11 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.3% C 0.121 H 137.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2B5F11
RGBrgb(43, 95, 17)
HSLhsl(100, 70%, 22%)
HSVhsv(100, 82%, 37%)
CMYKcmyk(54.7%, 0%, 82.1%, 62.7%)
CIE-LABlab(35.48, -32.19, 36.48)
CIE-LCHlch(35.48, 48.65, 131.42°)
OKLaboklab(43.31% -0.0892 0.0814)
OKLCHoklch(43.31% 0.121 137.6)
XYZxyz(5.1895, 8.7381, 1.9434)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F11 #45115F
analogous
#525F11 #2B5F11 #115F1E
triadic
#2B5F11 #112B5F #5F112B
tetradic
#2B5F11 #11525F #45115F #5F1E11
square
#2B5F11 #11525F #45115F #5F1E11
split-complementary
#2B5F11 #1E115F #5F1152
monochromatic
#0C1A05 #142B08 #2B5F11 #42931A #5AC724

Accessibility & contrast

On white

7.64
#2B5F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2B5F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5F11
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F11#FFFFFF#000000##FFFFFF
##2B5F111.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625601
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#275B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5f11;
/* rgb */ color: rgb(43, 95, 17);
/* oklch */ color: oklch(43.3% 0.121 137.6);
Tailwind
colors: {
  custom: {
    50: '#6b8d56',
    500: '#2b5f11',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f11;
$custom-light: #6b8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f11",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 100,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43307,
    "c": 0.12076,
    "h": 137.6
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#2B5F11
secondary
#763498
accent
#3BECB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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