#1B864C#1B864C

#1B864C is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.129 H 153.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#1B864C
RGBrgb(27, 134, 76)
HSLhsl(147, 66%, 32%)
HSVhsv(147, 80%, 53%)
CMYKcmyk(79.9%, 0%, 43.3%, 47.5%)
CIE-LABlab(49.26, -43.05, 23.09)
CIE-LCHlch(49.26, 48.85, 151.79°)
OKLaboklab(54.79% -0.1158 0.0572)
OKLCHoklch(54.79% 0.129 153.7)
XYZxyz(10.2806, 17.8038, 9.7307)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B864C #861B55
analogous
#1F861B #1B864C #1B8682
triadic
#1B864C #4C1B86 #864C1B
tetradic
#1B864C #1B1F86 #861B55 #86821B
square
#1B864C #1B1F86 #861B55 #86821B
split-complementary
#1B864C #821B86 #861B1F
monochromatic
#062012 #11532F #1B864C #25B969 #42D987

Accessibility & contrast

On white

4.60
#1B864C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#1B864C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1B864C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B864C#FFFFFF#000000##FFFFFF
##1B864C1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A48
Deuteranopia (green-blind)
#797250
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b864c;
/* rgb */ color: rgb(27, 134, 76);
/* oklch */ color: oklch(54.8% 0.129 153.7);
Tailwind
colors: {
  custom: {
    50: '#6aaa7e',
    500: '#1b864c',
    950: '#000000',
  },
}
SCSS
$custom: #1b864c;
$custom-light: #6aaa7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b864c",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 76
  },
  "hsl": {
    "h": 147.477,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.12921,
    "h": 153.7
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#1B864C
secondary
#B94483
accent
#3E9BE9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1B864C

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

Preview Lab → · Contrast checker → · Palette generator →

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