#2B6519#2B6519

#2B6519 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.124 H 139.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2B6519
RGBrgb(43, 101, 25)
HSLhsl(106, 60%, 25%)
HSVhsv(106, 75%, 40%)
CMYKcmyk(57.4%, 0%, 75.2%, 60.4%)
CIE-LABlab(37.65, -34.10, 35.48)
CIE-LCHlch(37.65, 49.21, 133.86°)
OKLaboklab(45.11% -0.0938 0.0806)
OKLCHoklch(45.11% 0.124 139.3)
XYZxyz(5.8252, 9.8907, 2.5216)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6519 #531965
analogous
#516519 #2B6519 #19652D
triadic
#2B6519 #192B65 #65192B
tetradic
#2B6519 #195165 #531965 #652D19
square
#2B6519 #195165 #531965 #652D19
split-complementary
#2B6519 #2D1965 #651951
monochromatic
#0A1906 #16340D #2B6519 #409625 #55C731

Accessibility & contrast

On white

7.05
#2B6519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2B6519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6519
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6519#FFFFFF#000000##FFFFFF
##2B65191.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0D
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#256156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b6519;
/* rgb */ color: rgb(43, 101, 25);
/* oklch */ color: oklch(45.1% 0.124 139.3);
Tailwind
colors: {
  custom: {
    50: '#6b915b',
    500: '#2b6519',
    950: '#000000',
  },
}
SCSS
$custom: #2b6519;
$custom-light: #6b915b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6519",
  "rgb": {
    "r": 43,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 105.789,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45113,
    "c": 0.12364,
    "h": 139.3
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#2B6519
secondary
#853F9B
accent
#44E3BE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6519

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

Preview Lab → · Contrast checker → · Palette generator →

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