#2B941F#2B941F

#2B941F is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.178 H 141.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2B941F
RGBrgb(43, 148, 31)
HSLhsl(114, 65%, 35%)
HSVhsv(114, 79%, 58%)
CMYKcmyk(70.9%, 0%, 79.1%, 42%)
CIE-LABlab(53.80, -51.22, 49.32)
CIE-LCHlch(53.80, 71.10, 136.08°)
OKLaboklab(58.5% -0.1397 0.1103)
OKLCHoklch(58.5% 0.178 141.7)
XYZxyz(11.8328, 21.7911, 4.8786)
Luminance0.2179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B941F #881F94
analogous
#66941F #2B941F #1F944D
triadic
#2B941F #1F2B94 #941F2B
tetradic
#2B941F #1F6694 #881F94 #944D1F
square
#2B941F #1F6694 #881F94 #944D1F
split-complementary
#2B941F #4D1F94 #941F66
monochromatic
#0E2F0A #1C6114 #2B941F #3AC72A #61DB53

Accessibility & contrast

On white

3.92
#2B941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#2B941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B941F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B941F#FFFFFF#000000##000000
##2B941F1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#108F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2b941f;
/* rgb */ color: rgb(43, 148, 31);
/* oklch */ color: oklch(58.5% 0.178 141.7);
Tailwind
colors: {
  custom: {
    50: '#75b464',
    500: '#2b941f',
    950: '#000000',
  },
}
SCSS
$custom: #2b941f;
$custom-light: #75b464;
$custom-dark: #000000;
JSON
{
  "hex": "#2b941f",
  "rgb": {
    "r": 43,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 113.846,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58496,
    "c": 0.17798,
    "h": 141.7
  },
  "luminance": 0.21792
}

Semantic roles & 50–950 ramp

primary
#2B941F
secondary
#B351BE
accent
#3FE8D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B941F

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

Preview Lab → · Contrast checker → · Palette generator →

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