#2B8E1F#2B8E1F

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

Color values

HEX#2B8E1F
RGBrgb(43, 142, 31)
HSLhsl(114, 64%, 34%)
HSVhsv(114, 78%, 56%)
CMYKcmyk(69.7%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.79, -49.15, 47.36)
CIE-LCHlch(51.79, 68.26, 136.07°)
OKLaboklab(56.82% -0.1341 0.1062)
OKLCHoklch(56.82% 0.171 141.6)
XYZxyz(10.9160, 19.9574, 4.5729)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E1F #821F8E
analogous
#638E1F #2B8E1F #1F8E4B
triadic
#2B8E1F #1F2B8E #8E1F2B
tetradic
#2B8E1F #1F638E #821F8E #8E4B1F
square
#2B8E1F #1F638E #821F8E #8E4B1F
split-complementary
#2B8E1F #4B1F8E #8E1F63
monochromatic
#0D2A09 #1C5C14 #2B8E1F #3AC02A #5ED94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8E1F#FFFFFF#000000##000000
##2B8E1F1.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)
#928004
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#148979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8e1f;
/* rgb */ color: rgb(43, 142, 31);
/* oklch */ color: oklch(56.8% 0.171 141.6);
Tailwind
colors: {
  custom: {
    50: '#74b063',
    500: '#2b8e1f',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e1f;
$custom-light: #74b063;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e1f",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 113.514,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.17106,
    "h": 141.6
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

primary
#2B8E1F
secondary
#B04DBB
accent
#41E7D5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B8E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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