#1B822A#1B822A

#1B822A is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.155 H 144.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1B822A
RGBrgb(27, 130, 42)
HSLhsl(129, 66%, 31%)
HSVhsv(129, 79%, 51%)
CMYKcmyk(79.2%, 0%, 67.7%, 49%)
CIE-LABlab(47.45, -46.85, 38.34)
CIE-LCHlch(47.45, 60.54, 140.70°)
OKLaboklab(53.15% -0.1265 0.0889)
OKLCHoklch(53.15% 0.155 144.9)
XYZxyz(8.8519, 16.3644, 4.8822)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B822A #821B73
analogous
#3F821B #1B822A #1B825D
triadic
#1B822A #2A1B82 #822A1B
tetradic
#1B822A #1B3F82 #821B73 #825D1B
square
#1B822A #1B3F82 #821B73 #825D1B
split-complementary
#1B822A #5D1B82 #821B3F
monochromatic
#061D09 #104F1A #1B822A #26B53A #40D756

Accessibility & contrast

On white

4.91
#1B822A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1B822A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B822A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B822A#FFFFFF#000000##FFFFFF
##1B822A1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751F
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b822a;
/* rgb */ color: rgb(27, 130, 42);
/* oklch */ color: oklch(53.2% 0.155 144.9);
Tailwind
colors: {
  custom: {
    50: '#6aa768',
    500: '#1b822a',
    950: '#000000',
  },
}
SCSS
$custom: #1b822a;
$custom-light: #6aa768;
$custom-dark: #000000;
JSON
{
  "hex": "#1b822a",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 128.738,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.15456,
    "h": 144.9
  },
  "luminance": 0.16365
}

Semantic roles & 50–950 ramp

primary
#1B822A
secondary
#B643A5
accent
#3FD0E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1B822A

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

Preview Lab → · Contrast checker → · Palette generator →

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