#1B8F45#1B8F45

#1B8F45 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.148 H 149.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1B8F45
RGBrgb(27, 143, 69)
HSLhsl(142, 68%, 33%)
HSVhsv(142, 81%, 56%)
CMYKcmyk(81.1%, 0%, 51.7%, 43.9%)
CIE-LABlab(52.18, -47.68, 30.59)
CIE-LCHlch(52.18, 56.65, 147.32°)
OKLaboklab(57.18% -0.128 0.0741)
OKLCHoklch(57.18% 0.148 149.9)
XYZxyz(11.3477, 20.3062, 8.9505)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8F45 #8F1B65
analogous
#2B8F1B #1B8F45 #1B8F7F
triadic
#1B8F45 #451B8F #8F451B
tetradic
#1B8F45 #1B2B8F #8F1B65 #8F7F1B
square
#1B8F45 #1B2B8F #8F1B65 #8F7F1B
split-complementary
#1B8F45 #7F1B8F #8F1B2B
monochromatic
#082813 #115C2C #1B8F45 #25C25E #48DC7E

Accessibility & contrast

On white

4.15
#1B8F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#1B8F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8F45
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8F45#FFFFFF#000000##000000
##1B8F451.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#83794A
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1b8f45;
/* rgb */ color: rgb(27, 143, 69);
/* oklch */ color: oklch(57.2% 0.148 149.9);
Tailwind
colors: {
  custom: {
    50: '#6db17a',
    500: '#1b8f45',
    950: '#000000',
  },
}
SCSS
$custom: #1b8f45;
$custom-light: #6db17a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8f45",
  "rgb": {
    "r": 27,
    "g": 143,
    "b": 69
  },
  "hsl": {
    "h": 141.724,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57179,
    "c": 0.14795,
    "h": 149.9
  },
  "luminance": 0.20308
}

Semantic roles & 50–950 ramp

primary
#1B8F45
secondary
#BE4893
accent
#3DACEB
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#081109
muted
#7B807B

Preview Lab

Preview with #1B8F45

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

Preview Lab → · Contrast checker → · Palette generator →

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