#1B9228#1B9228

#1B9228 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.7% C 0.175 H 144.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1B9228
RGBrgb(27, 146, 40)
HSLhsl(127, 69%, 34%)
HSVhsv(127, 82%, 57%)
CMYKcmyk(81.5%, 0%, 72.6%, 42.7%)
CIE-LABlab(52.89, -52.43, 45.00)
CIE-LCHlch(52.89, 69.09, 139.36°)
OKLaboklab(57.67% -0.1417 0.1026)
OKLCHoklch(57.67% 0.175 144.1)
XYZxyz(11.1131, 20.9426, 5.4637)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B9228 #921B85
analogous
#4A921B #1B9228 #1B9264
triadic
#1B9228 #281B92 #92281B
tetradic
#1B9228 #1B4A92 #921B85 #92641B
square
#1B9228 #1B4A92 #921B85 #92641B
split-complementary
#1B9228 #641B92 #921B4A
monochromatic
#082B0C #115E1A #1B9228 #25C636 #4ADE5A

Accessibility & contrast

On white

4.05
#1B9228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#1B9228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B9228
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B9228#FFFFFF#000000##000000
##1B92281.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1b9228;
/* rgb */ color: rgb(27, 146, 40);
/* oklch */ color: oklch(57.7% 0.175 144.1);
Tailwind
colors: {
  custom: {
    50: '#6fb368',
    500: '#1b9228',
    950: '#000000',
  },
}
SCSS
$custom: #1b9228;
$custom-light: #6fb368;
$custom-dark: #000000;
JSON
{
  "hex": "#1b9228",
  "rgb": {
    "r": 27,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 126.555,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.17499,
    "h": 144.1
  },
  "luminance": 0.20944
}

Semantic roles & 50–950 ramp

primary
#1B9228
secondary
#BF49B3
accent
#3CD8EC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1B9228

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

Preview Lab → · Contrast checker → · Palette generator →

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