#2B8312#2B8312

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

Color values

HEX#2B8312
RGBrgb(43, 131, 18)
HSLhsl(107, 76%, 29%)
HSVhsv(107, 86%, 51%)
CMYKcmyk(67.2%, 0%, 86.3%, 48.6%)
CIE-LABlab(47.99, -46.08, 47.81)
CIE-LCHlch(47.99, 66.40, 133.95°)
OKLaboklab(53.66% -0.1264 0.1053)
OKLCHoklch(53.66% 0.165 140.2)
XYZxyz(9.2213, 16.7889, 3.3268)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8312 #6A1283
analogous
#648312 #2B8312 #128332
triadic
#2B8312 #122B83 #83122B
tetradic
#2B8312 #126483 #6A1283 #833212
square
#2B8312 #126483 #6A1283 #833212
split-complementary
#2B8312 #321283 #831264
monochromatic
#091B04 #194D0B #2B8312 #3DB919 #55E22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8312#FFFFFF#000000##FFFFFF
##2B83121.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)
#7C6F21
Tritanopia (blue-blind)
#1C7E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8312;
/* rgb */ color: rgb(43, 131, 18);
/* oklch */ color: oklch(53.7% 0.165 140.2);
Tailwind
colors: {
  custom: {
    50: '#72a85c',
    500: '#2b8312',
    950: '#000000',
  },
}
SCSS
$custom: #2b8312;
$custom-light: #72a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8312",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 106.726,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53656,
    "c": 0.16454,
    "h": 140.2
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#2B8312
secondary
#9C38B8
accent
#35F2C9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B8312

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

Preview Lab → · Contrast checker → · Palette generator →

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