#1B8D38#1B8D38

#1B8D38 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.157 H 147.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1B8D38
RGBrgb(27, 141, 56)
HSLhsl(135, 68%, 33%)
HSVhsv(135, 81%, 55%)
CMYKcmyk(80.9%, 0%, 60.3%, 44.7%)
CIE-LABlab(51.34, -48.93, 36.17)
CIE-LCHlch(51.34, 60.84, 143.53°)
OKLaboklab(56.43% -0.1316 0.0856)
OKLCHoklch(56.43% 0.157 147)
XYZxyz(10.6899, 19.5670, 6.9540)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D38 #8D1B70
analogous
#378D1B #1B8D38 #1B8D71
triadic
#1B8D38 #381B8D #8D381B
tetradic
#1B8D38 #1B378D #8D1B70 #8D711B
square
#1B8D38 #1B378D #8D1B70 #8D711B
split-complementary
#1B8D38 #711B8D #8D1B37
monochromatic
#07260F #115A24 #1B8D38 #25C04C #47DC6D

Accessibility & contrast

On white

4.27
#1B8D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#1B8D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D38
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D38#FFFFFF#000000##000000
##1B8D381.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#82773F
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d38;
/* rgb */ color: rgb(27, 141, 56);
/* oklch */ color: oklch(56.4% 0.157 147.0);
Tailwind
colors: {
  custom: {
    50: '#6daf71',
    500: '#1b8d38',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d38;
$custom-light: #6daf71;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d38",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 135.263,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.15697,
    "h": 147
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#1B8D38
secondary
#BD469F
accent
#3DBFEB
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1B8D38

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

Preview Lab → · Contrast checker → · Palette generator →

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