#1B8A2D#1B8A2D

#1B8A2D is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.162 H 145.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1B8A2D
RGBrgb(27, 138, 45)
HSLhsl(130, 67%, 32%)
HSVhsv(130, 80%, 54%)
CMYKcmyk(80.4%, 0%, 67.4%, 45.9%)
CIE-LABlab(50.21, -49.26, 40.03)
CIE-LCHlch(50.21, 63.47, 140.90°)
OKLaboklab(55.46% -0.1329 0.0928)
OKLCHoklch(55.46% 0.162 145.1)
XYZxyz(10.0134, 18.5982, 5.5442)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A2D #8A1B78
analogous
#408A1B #1B8A2D #1B8A65
triadic
#1B8A2D #2D1B8A #8A2D1B
tetradic
#1B8A2D #1B408A #8A1B78 #8A651B
square
#1B8A2D #1B408A #8A1B78 #8A651B
split-complementary
#1B8A2D #651B8A #8A1B40
monochromatic
#07240C #11571C #1B8A2D #25BD3E #45DB5D

Accessibility & contrast

On white

4.45
#1B8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#1B8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8A2D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8A2D#FFFFFF#000000##000000
##1B8A2D1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D21
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1b8a2d;
/* rgb */ color: rgb(27, 138, 45);
/* oklch */ color: oklch(55.5% 0.162 145.1);
Tailwind
colors: {
  custom: {
    50: '#6cad6a',
    500: '#1b8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a2d;
$custom-light: #6cad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a2d",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 129.73,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55457,
    "c": 0.16206,
    "h": 145.1
  },
  "luminance": 0.18599
}

Semantic roles & 50–950 ramp

primary
#1B8A2D
secondary
#BC45A9
accent
#3ECEEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1B8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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