#2B981F#2B981F

#2B981F is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.6% C 0.183 H 141.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2B981F
RGBrgb(43, 152, 31)
HSLhsl(114, 66%, 36%)
HSVhsv(114, 80%, 60%)
CMYKcmyk(71.7%, 0%, 79.6%, 40.4%)
CIE-LABlab(55.14, -52.57, 50.61)
CIE-LCHlch(55.14, 72.97, 136.09°)
OKLaboklab(59.61% -0.1433 0.113)
OKLCHoklch(59.61% 0.183 141.7)
XYZxyz(12.4711, 23.0676, 5.0913)
Luminance0.2307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B981F #8C1F98
analogous
#67981F #2B981F #1F9850
triadic
#2B981F #1F2B98 #981F2B
tetradic
#2B981F #1F6798 #8C1F98 #98501F
square
#2B981F #1F6798 #8C1F98 #98501F
split-complementary
#2B981F #501F98 #981F67
monochromatic
#0E320A #1D6515 #2B981F #39CB29 #62DC55

Accessibility & contrast

On white

3.74
#2B981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#2B981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B981F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B981F#FFFFFF#000000##000000
##2B981F1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#8F812D
Tritanopia (blue-blind)
#0C9381
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2b981f;
/* rgb */ color: rgb(43, 152, 31);
/* oklch */ color: oklch(59.6% 0.183 141.7);
Tailwind
colors: {
  custom: {
    50: '#76b765',
    500: '#2b981f',
    950: '#000000',
  },
}
SCSS
$custom: #2b981f;
$custom-light: #76b765;
$custom-dark: #000000;
JSON
{
  "hex": "#2b981f",
  "rgb": {
    "r": 43,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 114.05,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.18251,
    "h": 141.7
  },
  "luminance": 0.23069
}

Semantic roles & 50–950 ramp

primary
#2B981F
secondary
#B553C0
accent
#3FE9D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B981F

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

Preview Lab → · Contrast checker → · Palette generator →

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