#1B8322#1B8322

#1B8322 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.161 H 143.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1B8322
RGBrgb(27, 131, 34)
HSLhsl(124, 66%, 31%)
HSVhsv(124, 79%, 51%)
CMYKcmyk(79.4%, 0%, 74%, 48.6%)
CIE-LABlab(47.73, -48.01, 42.05)
CIE-LCHlch(47.73, 63.82, 138.78°)
OKLaboklab(53.36% -0.13 0.0957)
OKLCHoklch(53.36% 0.161 143.6)
XYZxyz(8.8564, 16.5801, 4.2466)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8322 #831B7C
analogous
#48831B #1B8322 #1B8356
triadic
#1B8322 #221B83 #83221B
tetradic
#1B8322 #1B4883 #831B7C #83561B
square
#1B8322 #1B4883 #831B7C #83561B
split-complementary
#1B8322 #561B83 #831B48
monochromatic
#061E08 #115015 #1B8322 #25B62F #41D84B

Accessibility & contrast

On white

4.87
#1B8322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#1B8322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8322
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8322#FFFFFF#000000##FFFFFF
##1B83221.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867612
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b8322;
/* rgb */ color: rgb(27, 131, 34);
/* oklch */ color: oklch(53.4% 0.161 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ba863',
    500: '#1b8322',
    950: '#000000',
  },
}
SCSS
$custom: #1b8322;
$custom-light: #6ba863;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8322",
  "rgb": {
    "r": 27,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 124.038,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53361,
    "c": 0.16138,
    "h": 143.6
  },
  "luminance": 0.16581
}

Semantic roles & 50–950 ramp

primary
#1B8322
secondary
#B643AF
accent
#3FDDE9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8322

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

Preview Lab → · Contrast checker → · Palette generator →

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