#2B8317#2B8317

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

Color values

HEX#2B8317
RGBrgb(43, 131, 23)
HSLhsl(109, 70%, 30%)
HSVhsv(109, 82%, 51%)
CMYKcmyk(67.2%, 0%, 82.4%, 48.6%)
CIE-LABlab(48.02, -45.80, 46.38)
CIE-LCHlch(48.02, 65.19, 134.64°)
OKLaboklab(53.68% -0.1255 0.103)
OKLCHoklch(53.68% 0.162 140.6)
XYZxyz(9.2668, 16.8071, 3.5662)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8317 #6F1783
analogous
#618317 #2B8317 #178339
triadic
#2B8317 #172B83 #83172B
tetradic
#2B8317 #176183 #6F1783 #833917
square
#2B8317 #176183 #6F1783 #833917
split-complementary
#2B8317 #391783 #831761
monochromatic
#091B05 #1A4F0E #2B8317 #3CB720 #57DC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8317#FFFFFF#000000##FFFFFF
##2B83171.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)
#7C6F24
Tritanopia (blue-blind)
#1C7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8317;
/* rgb */ color: rgb(43, 131, 23);
/* oklch */ color: oklch(53.7% 0.162 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a85e',
    500: '#2b8317',
    950: '#000000',
  },
}
SCSS
$custom: #2b8317;
$custom-light: #72a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8317",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 108.889,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.16234,
    "h": 140.6
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#2B8317
secondary
#A13FB7
accent
#3BEDCC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B8317

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

Preview Lab → · Contrast checker → · Palette generator →

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