#1B873B#1B873B

#1B873B is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.147 H 148.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1B873B
RGBrgb(27, 135, 59)
HSLhsl(138, 67%, 32%)
HSVhsv(138, 80%, 53%)
CMYKcmyk(80%, 0%, 56.3%, 47.1%)
CIE-LABlab(49.34, -46.37, 32.30)
CIE-LCHlch(49.34, 56.51, 145.14°)
OKLaboklab(54.79% -0.1246 0.0773)
OKLCHoklch(54.79% 0.147 148.2)
XYZxyz(9.9046, 17.8755, 7.0651)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B873B #871B67
analogous
#31871B #1B873B #1B8771
triadic
#1B873B #3B1B87 #873B1B
tetradic
#1B873B #1B3187 #871B67 #87711B
square
#1B873B #1B3187 #871B67 #87711B
split-complementary
#1B873B #711B87 #871B31
monochromatic
#07210E #115425 #1B873B #25BA51 #43D970

Accessibility & contrast

On white

4.59
#1B873B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#1B873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1B873B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B873B#FFFFFF#000000##FFFFFF
##1B873B1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A34
Deuteranopia (green-blind)
#7C7241
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b873b;
/* rgb */ color: rgb(27, 135, 59);
/* oklch */ color: oklch(54.8% 0.147 148.2);
Tailwind
colors: {
  custom: {
    50: '#6bab73',
    500: '#1b873b',
    950: '#000000',
  },
}
SCSS
$custom: #1b873b;
$custom-light: #6bab73;
$custom-dark: #000000;
JSON
{
  "hex": "#1b873b",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 137.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.14666,
    "h": 148.2
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#1B873B
secondary
#BA4497
accent
#3EB7EA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1B873B

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

Preview Lab → · Contrast checker → · Palette generator →

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