#1B8227#1B8227

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

Color values

HEX#1B8227
RGBrgb(27, 130, 39)
HSLhsl(127, 66%, 31%)
HSVhsv(127, 79%, 51%)
CMYKcmyk(79.2%, 0%, 70%, 49%)
CIE-LABlab(47.42, -47.17, 39.64)
CIE-LCHlch(47.42, 61.62, 139.96°)
OKLaboklab(53.12% -0.1275 0.0913)
OKLCHoklch(53.12% 0.157 144.4)
XYZxyz(8.8002, 16.3437, 4.6099)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8227 #821B76
analogous
#42821B #1B8227 #1B825A
triadic
#1B8227 #271B82 #82271B
tetradic
#1B8227 #1B4282 #821B76 #825A1B
square
#1B8227 #1B4282 #821B76 #825A1B
split-complementary
#1B8227 #5A1B82 #821B42
monochromatic
#061D09 #104F18 #1B8227 #26B536 #40D752

Accessibility & contrast

On white

4.92
#1B8227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1B8227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8227
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8227#FFFFFF#000000##FFFFFF
##1B82271.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751A
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1b8227;
/* rgb */ color: rgb(27, 130, 39);
/* oklch */ color: oklch(53.1% 0.157 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ba766',
    500: '#1b8227',
    950: '#000000',
  },
}
SCSS
$custom: #1b8227;
$custom-light: #6ba766;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8227",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 126.99,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.15678,
    "h": 144.4
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#1B8227
secondary
#B643A8
accent
#3FD5E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1B8227

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

Preview Lab → · Contrast checker → · Palette generator →

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