#1B8239#1B8239

#1B8239 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.142 H 148.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1B8239
RGBrgb(27, 130, 57)
HSLhsl(137, 66%, 31%)
HSVhsv(137, 79%, 51%)
CMYKcmyk(79.2%, 0%, 56.2%, 49%)
CIE-LABlab(47.61, -44.86, 31.23)
CIE-LCHlch(47.61, 54.66, 145.15°)
OKLaboklab(53.34% -0.1206 0.0749)
OKLCHoklch(53.34% 0.142 148.2)
XYZxyz(9.1724, 16.4926, 6.5701)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8239 #821B64
analogous
#30821B #1B8239 #1B826C
triadic
#1B8239 #391B82 #82391B
tetradic
#1B8239 #1B3082 #821B64 #826C1B
square
#1B8239 #1B3082 #821B64 #826C1B
split-complementary
#1B8239 #6C1B82 #821B30
monochromatic
#061D0D #104F23 #1B8239 #26B54F #40D76C

Accessibility & contrast

On white

4.89
#1B8239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#1B8239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8239
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8239#FFFFFF#000000##FFFFFF
##1B82391.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837632
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b8239;
/* rgb */ color: rgb(27, 130, 57);
/* oklch */ color: oklch(53.3% 0.142 148.2);
Tailwind
colors: {
  custom: {
    50: '#6aa771',
    500: '#1b8239',
    950: '#000000',
  },
}
SCSS
$custom: #1b8239;
$custom-light: #6aa771;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8239",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 137.476,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.14193,
    "h": 148.2
  },
  "luminance": 0.16494
}

Semantic roles & 50–950 ramp

primary
#1B8239
secondary
#B64394
accent
#3FB7E9
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #1B8239

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

Preview Lab → · Contrast checker → · Palette generator →

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