#1B8220#1B8220

#1B8220 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.161 H 143.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1B8220
RGBrgb(27, 130, 32)
HSLhsl(123, 66%, 31%)
HSVhsv(123, 79%, 51%)
CMYKcmyk(79.2%, 0%, 75.4%, 49%)
CIE-LABlab(47.37, -47.85, 42.47)
CIE-LCHlch(47.37, 63.97, 138.41°)
OKLaboklab(53.06% -0.1296 0.0963)
OKLCHoklch(53.06% 0.161 143.4)
XYZxyz(8.6948, 16.3015, 4.0545)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8220 #821B7D
analogous
#49821B #1B8220 #1B8253
triadic
#1B8220 #201B82 #82201B
tetradic
#1B8220 #1B4982 #821B7D #82531B
square
#1B8220 #1B4982 #821B7D #82531B
split-complementary
#1B8220 #531B82 #821B49
monochromatic
#061D07 #104F14 #1B8220 #26B52C #40D747

Accessibility & contrast

On white

4.93
#1B8220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#1B8220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8220
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8220#FFFFFF#000000##FFFFFF
##1B82201.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1b8220;
/* rgb */ color: rgb(27, 130, 32);
/* oklch */ color: oklch(53.1% 0.161 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ba762',
    500: '#1b8220',
    950: '#000000',
  },
}
SCSS
$custom: #1b8220;
$custom-light: #6ba762;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8220",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 122.913,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53058,
    "c": 0.16147,
    "h": 143.4
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#1B8220
secondary
#B643B0
accent
#3FE0E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #1B8220

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

Preview Lab → · Contrast checker → · Palette generator →

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