#2B5A16#2B5A16

#2B5A16 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.111 H 137.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2B5A16
RGBrgb(43, 90, 22)
HSLhsl(101, 61%, 22%)
HSVhsv(101, 76%, 35%)
CMYKcmyk(52.2%, 0%, 75.6%, 64.7%)
CIE-LABlab(33.74, -29.61, 32.74)
CIE-LCHlch(33.74, 44.15, 132.13°)
OKLaboklab(41.89% -0.0819 0.0744)
OKLCHoklch(41.89% 0.111 137.7)
XYZxyz(4.7971, 7.8835, 2.0278)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5A16 #45165A
analogous
#4D5A16 #2B5A16 #165A23
triadic
#2B5A16 #162B5A #5A162B
tetradic
#2B5A16 #164D5A #45165A #5A2316
square
#2B5A16 #164D5A #45165A #5A2316
split-complementary
#2B5A16 #23165A #5A164D
monochromatic
#0C1906 #14290A #2B5A16 #428B22 #5ABC2E

Accessibility & contrast

On white

8.15
#2B5A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B5A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5A16
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5A16#FFFFFF#000000##FFFFFF
##2B5A161.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520B
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#28574D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5a16;
/* rgb */ color: rgb(43, 90, 22);
/* oklch */ color: oklch(41.9% 0.111 137.7);
Tailwind
colors: {
  custom: {
    50: '#698958',
    500: '#2b5a16',
    950: '#000000',
  },
}
SCSS
$custom: #2b5a16;
$custom-light: #698958;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5a16",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 101.471,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4189,
    "c": 0.11062,
    "h": 137.7
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#2B5A16
secondary
#763B91
accent
#44E4B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5A16

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

Preview Lab → · Contrast checker → · Palette generator →

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