#1B8548#1B8548

#1B8548 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.132 H 152.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1B8548
RGBrgb(27, 133, 72)
HSLhsl(145, 66%, 31%)
HSVhsv(145, 80%, 52%)
CMYKcmyk(79.7%, 0%, 45.9%, 47.8%)
CIE-LABlab(48.85, -43.43, 24.77)
CIE-LCHlch(48.85, 50.00, 150.30°)
OKLaboklab(54.44% -0.1168 0.061)
OKLCHoklch(54.44% 0.132 152.4)
XYZxyz(10.0083, 17.4747, 8.9751)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8548 #851B58
analogous
#23851B #1B8548 #1B857D
triadic
#1B8548 #481B85 #85481B
tetradic
#1B8548 #1B2385 #851B58 #857D1B
square
#1B8548 #1B2385 #851B58 #857D1B
split-complementary
#1B8548 #7D1B85 #851B23
monochromatic
#061F11 #11522C #1B8548 #25B864 #42D982

Accessibility & contrast

On white

4.67
#1B8548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#1B8548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8548
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8548#FFFFFF#000000##FFFFFF
##1B85481.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857943
Deuteranopia (green-blind)
#79714C
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b8548;
/* rgb */ color: rgb(27, 133, 72);
/* oklch */ color: oklch(54.4% 0.132 152.4);
Tailwind
colors: {
  custom: {
    50: '#6aa97c',
    500: '#1b8548',
    950: '#000000',
  },
}
SCSS
$custom: #1b8548;
$custom-light: #6aa97c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8548",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 72
  },
  "hsl": {
    "h": 145.472,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54438,
    "c": 0.13174,
    "h": 152.4
  },
  "luminance": 0.17476
}

Semantic roles & 50–950 ramp

primary
#1B8548
secondary
#B84487
accent
#3FA1E9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1B8548

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

Preview Lab → · Contrast checker → · Palette generator →

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