#1B8F52#1B8F52

#1B8F52 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.136 H 154.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1B8F52
RGBrgb(27, 143, 82)
HSLhsl(148, 68%, 33%)
HSVhsv(148, 81%, 56%)
CMYKcmyk(81.1%, 0%, 42.7%, 43.9%)
CIE-LABlab(52.38, -45.34, 23.88)
CIE-LCHlch(52.38, 51.25, 152.23°)
OKLaboklab(57.41% -0.122 0.0592)
OKLCHoklch(57.41% 0.136 154.1)
XYZxyz(11.7963, 20.4857, 11.3134)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8F52 #8F1B58
analogous
#1E8F1B #1B8F52 #1B8F8C
triadic
#1B8F52 #521B8F #8F521B
tetradic
#1B8F52 #1B1E8F #8F1B58 #8F8C1B
square
#1B8F52 #1B1E8F #8F1B58 #8F8C1B
split-complementary
#1B8F52 #8C1B8F #8F1B1E
monochromatic
#082817 #115C34 #1B8F52 #25C270 #48DC8E

Accessibility & contrast

On white

4.12
#1B8F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#1B8F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8F52
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8F52#FFFFFF#000000##000000
##1B8F521.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#817956
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1b8f52;
/* rgb */ color: rgb(27, 143, 82);
/* oklch */ color: oklch(57.4% 0.136 154.1);
Tailwind
colors: {
  custom: {
    50: '#6cb183',
    500: '#1b8f52',
    950: '#000000',
  },
}
SCSS
$custom: #1b8f52;
$custom-light: #6cb183;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8f52",
  "rgb": {
    "r": 27,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 148.448,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5741,
    "c": 0.13563,
    "h": 154.1
  },
  "luminance": 0.20487
}

Semantic roles & 50–950 ramp

primary
#1B8F52
secondary
#BE4886
accent
#3D98EB
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1B8F52

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

Preview Lab → · Contrast checker → · Palette generator →

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