#2D831B#2D831B

#2D831B is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.160 H 140.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2D831B
RGBrgb(45, 131, 27)
HSLhsl(110, 66%, 31%)
HSVhsv(110, 79%, 51%)
CMYKcmyk(65.6%, 0%, 79.4%, 48.6%)
CIE-LABlab(48.09, -45.08, 45.16)
CIE-LCHlch(48.09, 63.81, 134.95°)
OKLaboklab(53.77% -0.1234 0.1011)
OKLCHoklch(53.77% 0.16 140.7)
XYZxyz(9.3959, 16.8687, 3.7975)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D831B #711B83
analogous
#61831B #2D831B #1B833D
triadic
#2D831B #1B2D83 #831B2D
tetradic
#2D831B #1B6183 #711B83 #833D1B
square
#2D831B #1B6183 #711B83 #833D1B
split-complementary
#2D831B #3D1B83 #831B61
monochromatic
#0A1E06 #1C5011 #2D831B #3EB625 #5BD841

Accessibility & contrast

On white

4.80
#2D831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2D831B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D831B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D831B#FFFFFF#000000##FFFFFF
##2D831B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877602
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#1F7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d831b;
/* rgb */ color: rgb(45, 131, 27);
/* oklch */ color: oklch(53.8% 0.160 140.7);
Tailwind
colors: {
  custom: {
    50: '#72a860',
    500: '#2d831b',
    950: '#000000',
  },
}
SCSS
$custom: #2d831b;
$custom-light: #72a860;
$custom-dark: #000000;
JSON
{
  "hex": "#2d831b",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 109.615,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.15951,
    "h": 140.7
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#2D831B
secondary
#A343B6
accent
#3FE9CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D831B

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

Preview Lab → · Contrast checker → · Palette generator →

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