#2B8310#2B8310

#2B8310 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.165 H 140.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2B8310
RGBrgb(43, 131, 16)
HSLhsl(106, 78%, 29%)
HSVhsv(106, 88%, 51%)
CMYKcmyk(67.2%, 0%, 87.8%, 48.6%)
CIE-LABlab(47.99, -46.18, 48.31)
CIE-LCHlch(47.99, 66.83, 133.70°)
OKLaboklab(53.65% -0.1268 0.1061)
OKLCHoklch(53.65% 0.165 140.1)
XYZxyz(9.2056, 16.7827, 3.2444)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8310 #681083
analogous
#658310 #2B8310 #10832F
triadic
#2B8310 #102B83 #83102B
tetradic
#2B8310 #106583 #681083 #832F10
square
#2B8310 #106583 #681083 #832F10
split-complementary
#2B8310 #2F1083 #831065
monochromatic
#091B03 #194C09 #2B8310 #3DBA17 #55E529

Accessibility & contrast

On white

4.82
#2B8310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B8310
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8310#FFFFFF#000000##FFFFFF
##2B83101.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b8310;
/* rgb */ color: rgb(43, 131, 16);
/* oklch */ color: oklch(53.6% 0.165 140.1);
Tailwind
colors: {
  custom: {
    50: '#72a85c',
    500: '#2b8310',
    950: '#000000',
  },
}
SCSS
$custom: #2b8310;
$custom-light: #72a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8310",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 105.913,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53647,
    "c": 0.16531,
    "h": 140.1
  },
  "luminance": 0.16784
}

Semantic roles & 50–950 ramp

primary
#2B8310
secondary
#9A36B9
accent
#33F5C7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091004
muted
#7B7F79

Preview Lab

Preview with #2B8310

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

Preview Lab → · Contrast checker → · Palette generator →

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