#2B8018#2B8018

#2B8018 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.158 H 140.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2B8018
RGBrgb(43, 128, 24)
HSLhsl(109, 68%, 30%)
HSVhsv(109, 81%, 50%)
CMYKcmyk(66.4%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.00, -44.66, 45.10)
CIE-LCHlch(47.00, 63.47, 134.72°)
OKLaboklab(52.84% -0.1223 0.1005)
OKLCHoklch(52.84% 0.158 140.6)
XYZxyz(8.8799, 16.0170, 3.4876)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8018 #6D1880
analogous
#5F8018 #2B8018 #188039
triadic
#2B8018 #182B80 #80182B
tetradic
#2B8018 #185F80 #6D1880 #803918
square
#2B8018 #185F80 #6D1880 #803918
split-complementary
#2B8018 #391880 #80185F
monochromatic
#091A05 #1A4C0E #2B8018 #3CB422 #56DA39

Accessibility & contrast

On white

5.00
#2B8018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2B8018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8018
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8018#FFFFFF#000000##FFFFFF
##2B80181.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#1D7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b8018;
/* rgb */ color: rgb(43, 128, 24);
/* oklch */ color: oklch(52.8% 0.158 140.6);
Tailwind
colors: {
  custom: {
    50: '#71a65e',
    500: '#2b8018',
    950: '#000000',
  },
}
SCSS
$custom: #2b8018;
$custom-light: #71a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8018",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 109.038,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52839,
    "c": 0.15831,
    "h": 140.6
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#2B8018
secondary
#9F40B4
accent
#3DEBCB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B8018

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

Preview Lab → · Contrast checker → · Palette generator →

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