#2B8E18#2B8E18

#2B8E18 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.175 H 141.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2B8E18
RGBrgb(43, 142, 24)
HSLhsl(110, 71%, 33%)
HSVhsv(110, 83%, 56%)
CMYKcmyk(69.7%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.75, -49.61, 49.57)
CIE-LCHlch(51.75, 70.13, 135.02°)
OKLaboklab(56.78% -0.1356 0.1098)
OKLCHoklch(56.78% 0.175 141)
XYZxyz(10.8336, 19.9244, 4.1388)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E18 #7B188E
analogous
#668E18 #2B8E18 #188E40
triadic
#2B8E18 #182B8E #8E182B
tetradic
#2B8E18 #18668E #7B188E #8E4018
square
#2B8E18 #18668E #7B188E #8E4018
split-complementary
#2B8E18 #40188E #8E1866
monochromatic
#0B2506 #1B5A0F #2B8E18 #3BC221 #5BDF41

Accessibility & contrast

On white

4.21
#2B8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2B8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8E18
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8E18#FFFFFF#000000##000000
##2B8E181.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#168979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8e18;
/* rgb */ color: rgb(43, 142, 24);
/* oklch */ color: oklch(56.8% 0.175 141.0);
Tailwind
colors: {
  custom: {
    50: '#74b060',
    500: '#2b8e18',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e18;
$custom-light: #74b060;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e18",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 110.339,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56781,
    "c": 0.17454,
    "h": 141
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#2B8E18
secondary
#AB42C0
accent
#3AEED1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2B8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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