#1B873F#1B873F

#1B873F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.143 H 149.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#1B873F
RGBrgb(27, 135, 63)
HSLhsl(140, 67%, 32%)
HSVhsv(140, 80%, 53%)
CMYKcmyk(80%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.40, -45.75, 30.29)
CIE-LCHlch(49.40, 54.86, 146.49°)
OKLaboklab(54.85% -0.1229 0.0731)
OKLCHoklch(54.85% 0.143 149.2)
XYZxyz(10.0123, 17.9186, 7.6326)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B873F #871B63
analogous
#2D871B #1B873F #1B8775
triadic
#1B873F #3F1B87 #873F1B
tetradic
#1B873F #1B2D87 #871B63 #87751B
square
#1B873F #1B2D87 #871B63 #87751B
split-complementary
#1B873F #751B87 #871B2D
monochromatic
#07210F #115427 #1B873F #25BA57 #43D975

Accessibility & contrast

On white

4.58
#1B873F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #1B873F
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B873F#FFFFFF#000000##000000
##1B873F1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b873f;
/* rgb */ color: rgb(27, 135, 63);
/* oklch */ color: oklch(54.8% 0.143 149.2);
Tailwind
colors: {
  custom: {
    50: '#6bab76',
    500: '#1b873f',
    950: '#000000',
  },
}
SCSS
$custom: #1b873f;
$custom-light: #6bab76;
$custom-dark: #000000;
JSON
{
  "hex": "#1b873f",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 140,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.143,
    "h": 149.2
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

primary
#1B873F
secondary
#BA4493
accent
#3EB0EA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1B873F

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

Preview Lab → · Contrast checker → · Palette generator →

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