#2B931F#2B931F

#2B931F is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.2% C 0.177 H 141.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2B931F
RGBrgb(43, 147, 31)
HSLhsl(114, 65%, 35%)
HSVhsv(114, 79%, 58%)
CMYKcmyk(70.7%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.47, -50.88, 48.99)
CIE-LCHlch(53.47, 70.63, 136.08°)
OKLaboklab(58.22% -0.1387 0.1096)
OKLCHoklch(58.22% 0.177 141.7)
XYZxyz(11.6767, 21.4787, 4.8265)
Luminance0.2148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B931F #871F93
analogous
#65931F #2B931F #1F934D
triadic
#2B931F #1F2B93 #931F2B
tetradic
#2B931F #1F6593 #871F93 #934D1F
square
#2B931F #1F6593 #871F93 #934D1F
split-complementary
#2B931F #4D1F93 #931F65
monochromatic
#0D2E0A #1C6014 #2B931F #3AC62A #60DA52

Accessibility & contrast

On white

3.97
#2B931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#2B931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B931F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B931F#FFFFFF#000000##000000
##2B931F1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#118E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2b931f;
/* rgb */ color: rgb(43, 147, 31);
/* oklch */ color: oklch(58.2% 0.177 141.7);
Tailwind
colors: {
  custom: {
    50: '#75b464',
    500: '#2b931f',
    950: '#000000',
  },
}
SCSS
$custom: #2b931f;
$custom-light: #75b464;
$custom-dark: #000000;
JSON
{
  "hex": "#2b931f",
  "rgb": {
    "r": 43,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 113.793,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.17683,
    "h": 141.7
  },
  "luminance": 0.2148
}

Semantic roles & 50–950 ramp

primary
#2B931F
secondary
#B250BE
accent
#40E8D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B931F

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

Preview Lab → · Contrast checker → · Palette generator →

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