#1B822E#1B822E

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

Color values

HEX#1B822E
RGBrgb(27, 130, 46)
HSLhsl(131, 66%, 31%)
HSVhsv(131, 79%, 51%)
CMYKcmyk(79.2%, 0%, 64.6%, 49%)
CIE-LABlab(47.49, -46.37, 36.54)
CIE-LCHlch(47.49, 59.04, 141.77°)
OKLaboklab(53.2% -0.125 0.0855)
OKLCHoklch(53.2% 0.151 145.6)
XYZxyz(8.9271, 16.3945, 5.2782)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B822E #821B6F
analogous
#3B821B #1B822E #1B8261
triadic
#1B822E #2E1B82 #822E1B
tetradic
#1B822E #1B3B82 #821B6F #82611B
square
#1B822E #1B3B82 #821B6F #82611B
split-complementary
#1B822E #611B82 #821B3B
monochromatic
#061D0A #104F1C #1B822E #26B540 #40D75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B822E#FFFFFF#000000##FFFFFF
##1B822E1.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)
#847524
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b822e;
/* rgb */ color: rgb(27, 130, 46);
/* oklch */ color: oklch(53.2% 0.151 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aa76a',
    500: '#1b822e',
    950: '#000000',
  },
}
SCSS
$custom: #1b822e;
$custom-light: #6aa76a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b822e",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 46
  },
  "hsl": {
    "h": 131.068,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53197,
    "c": 0.15142,
    "h": 145.6
  },
  "luminance": 0.16396
}

Semantic roles & 50–950 ramp

primary
#1B822E
secondary
#B643A0
accent
#3FC9E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1B822E

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

Preview Lab → · Contrast checker → · Palette generator →

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