#2B6515#2B6515

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

Color values

HEX#2B6515
RGBrgb(43, 101, 21)
HSLhsl(104, 66%, 24%)
HSVhsv(104, 79%, 40%)
CMYKcmyk(57.4%, 0%, 79.2%, 60.4%)
CIE-LABlab(37.62, -34.42, 37.07)
CIE-LCHlch(37.62, 50.59, 132.88°)
OKLaboklab(45.08% -0.0949 0.0833)
OKLCHoklch(45.08% 0.126 138.7)
XYZxyz(5.7851, 9.8746, 2.3105)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6515 #4F1565
analogous
#536515 #2B6515 #156527
triadic
#2B6515 #152B65 #65152B
tetradic
#2B6515 #155365 #4F1565 #652715
square
#2B6515 #155365 #4F1565 #652715
split-complementary
#2B6515 #271565 #651553
monochromatic
#0B1905 #15320A #2B6515 #419820 #56CA2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6515#FFFFFF#000000##FFFFFF
##2B65151.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)
#685C05
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#266156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b6515;
/* rgb */ color: rgb(43, 101, 21);
/* oklch */ color: oklch(45.1% 0.126 138.7);
Tailwind
colors: {
  custom: {
    50: '#6c9159',
    500: '#2b6515',
    950: '#000000',
  },
}
SCSS
$custom: #2b6515;
$custom-light: #6c9159;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6515",
  "rgb": {
    "r": 43,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 103.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4508,
    "c": 0.12628,
    "h": 138.7
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#2B6515
secondary
#813A9C
accent
#3FE9BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6515

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

Preview Lab → · Contrast checker → · Palette generator →

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