#1B822D#1B822D

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

Color values

HEX#1B822D
RGBrgb(27, 130, 45)
HSLhsl(130, 66%, 31%)
HSVhsv(130, 79%, 51%)
CMYKcmyk(79.2%, 0%, 65.4%, 49%)
CIE-LABlab(47.48, -46.50, 37.00)
CIE-LCHlch(47.48, 59.42, 141.49°)
OKLaboklab(53.19% -0.1254 0.0863)
OKLCHoklch(53.19% 0.152 145.5)
XYZxyz(8.9076, 16.3867, 5.1756)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B822D #821B70
analogous
#3D821B #1B822D #1B8260
triadic
#1B822D #2D1B82 #822D1B
tetradic
#1B822D #1B3D82 #821B70 #82601B
square
#1B822D #1B3D82 #821B70 #82601B
split-complementary
#1B822D #601B82 #821B3D
monochromatic
#061D0A #104F1B #1B822D #26B53F #40D75A

Accessibility & contrast

On white

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

On black

4.28
#1B822D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B822D#FFFFFF#000000##FFFFFF
##1B822D1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847523
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b822d;
/* rgb */ color: rgb(27, 130, 45);
/* oklch */ color: oklch(53.2% 0.152 145.5);
Tailwind
colors: {
  custom: {
    50: '#6aa76a',
    500: '#1b822d',
    950: '#000000',
  },
}
SCSS
$custom: #1b822d;
$custom-light: #6aa76a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b822d",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 130.485,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.15223,
    "h": 145.5
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#1B822D
secondary
#B643A2
accent
#3FCBE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1B822D

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

Preview Lab → · Contrast checker → · Palette generator →

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