#2B8519#2B8519

#2B8519 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.164 H 140.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2B8519
RGBrgb(43, 133, 25)
HSLhsl(110, 68%, 31%)
HSVhsv(110, 81%, 52%)
CMYKcmyk(67.7%, 0%, 81.2%, 47.8%)
CIE-LABlab(48.71, -46.39, 46.40)
CIE-LCHlch(48.71, 65.62, 135.00°)
OKLaboklab(54.26% -0.1269 0.1034)
OKLCHoklch(54.26% 0.164 140.8)
XYZxyz(9.5588, 17.3579, 3.7662)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8519 #731985
analogous
#618519 #2B8519 #19853D
triadic
#2B8519 #192B85 #85192B
tetradic
#2B8519 #196185 #731985 #853D19
square
#2B8519 #196185 #731985 #853D19
split-complementary
#2B8519 #3D1985 #851961
monochromatic
#0A1E06 #1A510F #2B8519 #3CB923 #58DB3E

Accessibility & contrast

On white

4.70
#2B8519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2B8519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8519
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8519#FFFFFF#000000##FFFFFF
##2B85191.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#1A8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8519;
/* rgb */ color: rgb(43, 133, 25);
/* oklch */ color: oklch(54.3% 0.164 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a95f',
    500: '#2b8519',
    950: '#000000',
  },
}
SCSS
$custom: #2b8519;
$custom-light: #72a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8519",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 110,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.16371,
    "h": 140.8
  },
  "luminance": 0.17359
}

Semantic roles & 50–950 ramp

primary
#2B8519
secondary
#A541B9
accent
#3DEBCE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B8519

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

Preview Lab → · Contrast checker → · Palette generator →

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