#2B5E16#2B5E16

#2B5E16 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.116 H 138.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2B5E16
RGBrgb(43, 94, 22)
HSLhsl(103, 62%, 23%)
HSVhsv(103, 77%, 37%)
CMYKcmyk(54.3%, 0%, 76.6%, 63.1%)
CIE-LABlab(35.16, -31.38, 34.20)
CIE-LCHlch(35.16, 46.41, 132.53°)
OKLaboklab(43.06% -0.0866 0.0774)
OKLCHoklch(43.06% 0.116 138.2)
XYZxyz(5.1436, 8.5765, 2.1433)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E16 #49165E
analogous
#4F5E16 #2B5E16 #165E25
triadic
#2B5E16 #162B5E #5E162B
tetradic
#2B5E16 #164F5E #49165E #5E2516
square
#2B5E16 #164F5E #49165E #5E2516
split-complementary
#2B5E16 #25165E #5E164F
monochromatic
#0B1906 #142C0A #2B5E16 #429022 #58C12D

Accessibility & contrast

On white

7.73
#2B5E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2B5E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5E16
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E16#FFFFFF#000000##FFFFFF
##2B5E161.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550A
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#275B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5e16;
/* rgb */ color: rgb(43, 94, 22);
/* oklch */ color: oklch(43.1% 0.116 138.2);
Tailwind
colors: {
  custom: {
    50: '#6a8c58',
    500: '#2b5e16',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e16;
$custom-light: #6a8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e16",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 102.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43055,
    "c": 0.1162,
    "h": 138.2
  },
  "luminance": 0.08577
}

Semantic roles & 50–950 ramp

primary
#2B5E16
secondary
#7B3B95
accent
#43E5B6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5E16

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

Preview Lab → · Contrast checker → · Palette generator →

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