#1B8221#1B8221

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

Color values

HEX#1B8221
RGBrgb(27, 130, 33)
HSLhsl(123, 66%, 31%)
HSVhsv(123, 79%, 51%)
CMYKcmyk(79.2%, 0%, 74.6%, 49%)
CIE-LABlab(47.37, -47.76, 42.08)
CIE-LCHlch(47.37, 63.65, 138.61°)
OKLaboklab(53.07% -0.1293 0.0956)
OKLCHoklch(53.07% 0.161 143.5)
XYZxyz(8.7086, 16.3071, 4.1272)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8221 #821B7C
analogous
#48821B #1B8221 #1B8254
triadic
#1B8221 #211B82 #82211B
tetradic
#1B8221 #1B4882 #821B7C #82541B
square
#1B8221 #1B4882 #821B7C #82541B
split-complementary
#1B8221 #541B82 #821B48
monochromatic
#061D07 #104F14 #1B8221 #26B52E #40D749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8221#FFFFFF#000000##FFFFFF
##1B82211.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)
#857510
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1b8221;
/* rgb */ color: rgb(27, 130, 33);
/* oklch */ color: oklch(53.1% 0.161 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ba763',
    500: '#1b8221',
    950: '#000000',
  },
}
SCSS
$custom: #1b8221;
$custom-light: #6ba763;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8221",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 123.495,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.16085,
    "h": 143.5
  },
  "luminance": 0.16308
}

Semantic roles & 50–950 ramp

primary
#1B8221
secondary
#B643AF
accent
#3FDFE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #1B8221

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

Preview Lab → · Contrast checker → · Palette generator →

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