#1B8D52#1B8D52

#1B8D52 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.133 H 154.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1B8D52
RGBrgb(27, 141, 82)
HSLhsl(149, 68%, 33%)
HSVhsv(149, 81%, 55%)
CMYKcmyk(80.9%, 0%, 41.8%, 44.7%)
CIE-LABlab(51.71, -44.58, 23.00)
CIE-LCHlch(51.71, 50.16, 152.71°)
OKLaboklab(56.86% -0.12 0.0572)
OKLCHoklch(56.86% 0.133 154.5)
XYZxyz(11.4988, 19.8906, 11.2142)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D52 #8D1B56
analogous
#1D8D1B #1B8D52 #1B8D8B
triadic
#1B8D52 #521B8D #8D521B
tetradic
#1B8D52 #1B1D8D #8D1B56 #8D8B1B
square
#1B8D52 #1B1D8D #8D1B56 #8D8B1B
split-complementary
#1B8D52 #8B1B8D #8D1B1D
monochromatic
#072616 #115A34 #1B8D52 #25C070 #47DC8F

Accessibility & contrast

On white

4.22
#1B8D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#1B8D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D52
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D52#FFFFFF#000000##000000
##1B8D521.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#7F7856
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8d52;
/* rgb */ color: rgb(27, 141, 82);
/* oklch */ color: oklch(56.9% 0.133 154.5);
Tailwind
colors: {
  custom: {
    50: '#6caf83',
    500: '#1b8d52',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d52;
$custom-light: #6caf83;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d52",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 148.947,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56857,
    "c": 0.13293,
    "h": 154.5
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#1B8D52
secondary
#BD4684
accent
#3D97EB
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1B8D52

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

Preview Lab → · Contrast checker → · Palette generator →

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