#1B9828#1B9828

#1B9828 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.182 H 144.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1B9828
RGBrgb(27, 152, 40)
HSLhsl(126, 70%, 35%)
HSVhsv(126, 82%, 60%)
CMYKcmyk(82.2%, 0%, 73.7%, 40.4%)
CIE-LABlab(54.91, -54.37, 47.09)
CIE-LCHlch(54.91, 71.93, 139.11°)
OKLaboklab(59.35% -0.147 0.107)
OKLCHoklch(59.35% 0.182 144)
XYZxyz(12.0624, 22.8412, 5.7801)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B9828 #981B8B
analogous
#4C981B #1B9828 #1B9866
triadic
#1B9828 #281B98 #98281B
tetradic
#1B9828 #1B4C98 #981B8B #98661B
square
#1B9828 #1B4C98 #981B8B #98661B
split-complementary
#1B9828 #661B98 #981B4C
monochromatic
#09300D #12641A #1B9828 #24CC36 #4EE05D

Accessibility & contrast

On white

3.77
#1B9828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#1B9828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B9828
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B9828#FFFFFF#000000##000000
##1B98281.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1b9828;
/* rgb */ color: rgb(27, 152, 40);
/* oklch */ color: oklch(59.3% 0.182 144.0);
Tailwind
colors: {
  custom: {
    50: '#70b869',
    500: '#1b9828',
    950: '#000000',
  },
}
SCSS
$custom: #1b9828;
$custom-light: #70b869;
$custom-dark: #000000;
JSON
{
  "hex": "#1b9828",
  "rgb": {
    "r": 27,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 126.24,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.18182,
    "h": 144
  },
  "luminance": 0.22843
}

Semantic roles & 50–950 ramp

primary
#1B9828
secondary
#C24DB6
accent
#3BDAED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1B9828

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

Preview Lab → · Contrast checker → · Palette generator →

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