#1B8B2F#1B8B2F

#1B8B2F is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.162 H 145.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1B8B2F
RGBrgb(27, 139, 47)
HSLhsl(131, 67%, 33%)
HSVhsv(131, 81%, 55%)
CMYKcmyk(80.6%, 0%, 66.2%, 45.5%)
CIE-LABlab(50.57, -49.37, 39.53)
CIE-LCHlch(50.57, 63.24, 141.32°)
OKLaboklab(55.76% -0.1331 0.0919)
OKLCHoklch(55.76% 0.162 145.4)
XYZxyz(10.1970, 18.9023, 5.7999)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8B2F #8B1B77
analogous
#3F8B1B #1B8B2F #1B8B67
triadic
#1B8B2F #2F1B8B #8B2F1B
tetradic
#1B8B2F #1B3F8B #8B1B77 #8B671B
square
#1B8B2F #1B3F8B #8B1B77 #8B671B
split-complementary
#1B8B2F #671B8B #8B1B3F
monochromatic
#07250C #11581E #1B8B2F #25BE40 #45DB60

Accessibility & contrast

On white

4.39
#1B8B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#1B8B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8B2F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8B2F#FFFFFF#000000##000000
##1B8B2F1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1b8b2f;
/* rgb */ color: rgb(27, 139, 47);
/* oklch */ color: oklch(55.8% 0.162 145.4);
Tailwind
colors: {
  custom: {
    50: '#6dae6c',
    500: '#1b8b2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b8b2f;
$custom-light: #6dae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8b2f",
  "rgb": {
    "r": 27,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 130.714,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55761,
    "c": 0.16176,
    "h": 145.4
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#1B8B2F
secondary
#BC45A7
accent
#3DCBEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1B8B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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