#2B6514#2B6514

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

Color values

HEX#2B6514
RGBrgb(43, 101, 20)
HSLhsl(103, 67%, 24%)
HSVhsv(103, 80%, 40%)
CMYKcmyk(57.4%, 0%, 80.2%, 60.4%)
CIE-LABlab(37.61, -34.50, 37.45)
CIE-LCHlch(37.61, 50.92, 132.66°)
OKLaboklab(45.07% -0.0952 0.0839)
OKLCHoklch(45.07% 0.127 138.6)
XYZxyz(5.7760, 9.8710, 2.2626)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6514 #4E1465
analogous
#536514 #2B6514 #146525
triadic
#2B6514 #142B65 #65142B
tetradic
#2B6514 #145365 #4E1465 #652514
square
#2B6514 #145365 #4E1465 #652514
split-complementary
#2B6514 #251465 #651453
monochromatic
#0B1A05 #15320A #2B6514 #41981E #56CB28

Accessibility & contrast

On white

7.06
#2B6514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2B6514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6514
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6514#FFFFFF#000000##FFFFFF
##2B65141.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B03
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#266156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b6514;
/* rgb */ color: rgb(43, 101, 20);
/* oklch */ color: oklch(45.1% 0.127 138.6);
Tailwind
colors: {
  custom: {
    50: '#6c9158',
    500: '#2b6514',
    950: '#000000',
  },
}
SCSS
$custom: #2b6514;
$custom-light: #6c9158;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6514",
  "rgb": {
    "r": 43,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 102.963,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45072,
    "c": 0.1269,
    "h": 138.6
  },
  "luminance": 0.09871
}

Semantic roles & 50–950 ramp

primary
#2B6514
secondary
#80399C
accent
#3EEAB9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6514

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

Preview Lab → · Contrast checker → · Palette generator →

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