#1B831B#1B831B

#1B831B is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.166 H 142.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1B831B
RGBrgb(27, 131, 27)
HSLhsl(120, 66%, 31%)
HSVhsv(120, 79%, 51%)
CMYKcmyk(79.4%, 0%, 79.4%, 48.6%)
CIE-LABlab(47.68, -48.58, 44.62)
CIE-LCHlch(47.68, 65.96, 137.44°)
OKLaboklab(53.31% -0.1319 0.1001)
OKLCHoklch(53.31% 0.166 142.8)
XYZxyz(8.7656, 16.5437, 3.7680)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B831B #831B83
analogous
#4F831B #1B831B #1B834F
triadic
#1B831B #1B1B83 #831B1B
tetradic
#1B831B #1B4F83 #831B83 #834F1B
square
#1B831B #1B4F83 #831B83 #834F1B
split-complementary
#1B831B #4F1B83 #831B4F
monochromatic
#061E06 #115011 #1B831B #25B625 #41D841

Accessibility & contrast

On white

4.87
#1B831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1B831B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B831B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B831B#FFFFFF#000000##FFFFFF
##1B831B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b831b;
/* rgb */ color: rgb(27, 131, 27);
/* oklch */ color: oklch(53.3% 0.166 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ba860',
    500: '#1b831b',
    950: '#000000',
  },
}
SCSS
$custom: #1b831b;
$custom-light: #6ba860;
$custom-dark: #000000;
JSON
{
  "hex": "#1b831b",
  "rgb": {
    "r": 27,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.16553,
    "h": 142.8
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#1B831B
secondary
#B643B6
accent
#3FE9E9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B831B

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

Preview Lab → · Contrast checker → · Palette generator →

#1B831B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva