#1B8539#1B8539

#1B8539 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.146 H 147.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1B8539
RGBrgb(27, 133, 57)
HSLhsl(137, 66%, 31%)
HSVhsv(137, 80%, 52%)
CMYKcmyk(79.7%, 0%, 57.1%, 47.8%)
CIE-LABlab(48.64, -45.95, 32.47)
CIE-LCHlch(48.64, 56.26, 144.75°)
OKLaboklab(54.19% -0.1235 0.0776)
OKLCHoklch(54.19% 0.146 147.9)
XYZxyz(9.5773, 17.3023, 6.7050)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8539 #851B67
analogous
#32851B #1B8539 #1B856E
triadic
#1B8539 #391B85 #85391B
tetradic
#1B8539 #1B3285 #851B67 #856E1B
square
#1B8539 #1B3285 #851B67 #856E1B
split-complementary
#1B8539 #6E1B85 #851B32
monochromatic
#061F0D #115223 #1B8539 #25B84F #42D96C

Accessibility & contrast

On white

4.71
#1B8539 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#1B8539 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8539
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8539#FFFFFF#000000##FFFFFF
##1B85391.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867932
Deuteranopia (green-blind)
#7B703F
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1b8539;
/* rgb */ color: rgb(27, 133, 57);
/* oklch */ color: oklch(54.2% 0.146 147.9);
Tailwind
colors: {
  custom: {
    50: '#6aaa71',
    500: '#1b8539',
    950: '#000000',
  },
}
SCSS
$custom: #1b8539;
$custom-light: #6aaa71;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8539",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 57
  },
  "hsl": {
    "h": 136.981,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54192,
    "c": 0.14586,
    "h": 147.9
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#1B8539
secondary
#B84497
accent
#3FB9E9
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1B8539

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

Preview Lab → · Contrast checker → · Palette generator →

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