#2B8319#2B8319

#2B8319 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.161 H 140.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2B8319
RGBrgb(43, 131, 25)
HSLhsl(110, 68%, 31%)
HSVhsv(110, 81%, 51%)
CMYKcmyk(67.2%, 0%, 80.9%, 48.6%)
CIE-LABlab(48.03, -45.68, 45.75)
CIE-LCHlch(48.03, 64.65, 134.95°)
OKLaboklab(53.69% -0.125 0.102)
OKLCHoklch(53.69% 0.161 140.8)
XYZxyz(9.2876, 16.8154, 3.6758)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8319 #711983
analogous
#608319 #2B8319 #19833C
triadic
#2B8319 #192B83 #83192B
tetradic
#2B8319 #196083 #711983 #833C19
square
#2B8319 #196083 #711983 #833C19
split-complementary
#2B8319 #3C1983 #831960
monochromatic
#091C05 #1A500F #2B8319 #3CB623 #57DA3D

Accessibility & contrast

On white

4.81
#2B8319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2B8319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8319
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8319#FFFFFF#000000##FFFFFF
##2B83191.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#1B7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8319;
/* rgb */ color: rgb(43, 131, 25);
/* oklch */ color: oklch(53.7% 0.161 140.8);
Tailwind
colors: {
  custom: {
    50: '#71a85f',
    500: '#2b8319',
    950: '#000000',
  },
}
SCSS
$custom: #2b8319;
$custom-light: #71a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8319",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 109.811,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.16135,
    "h": 140.8
  },
  "luminance": 0.16816
}

Semantic roles & 50–950 ramp

primary
#2B8319
secondary
#A341B7
accent
#3DEBCD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B8319

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

Preview Lab → · Contrast checker → · Palette generator →

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