#1B845F#1B845F

#1B845F is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.7% C 0.109 H 163.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1B845F
RGBrgb(27, 132, 95)
HSLhsl(159, 66%, 31%)
HSVhsv(159, 80%, 52%)
CMYKcmyk(79.5%, 0%, 28%, 48.2%)
CIE-LABlab(48.96, -38.06, 11.91)
CIE-LCHlch(48.96, 39.88, 162.62°)
OKLaboklab(54.67% -0.1043 0.0304)
OKLCHoklch(54.67% 0.109 163.8)
XYZxyz(10.7676, 17.5605, 13.6463)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B845F #841B40
analogous
#1B842A #1B845F #1B7484
triadic
#1B845F #5F1B84 #845F1B
tetradic
#1B845F #2A1B84 #841B40 #74841B
square
#1B845F #2A1B84 #841B40 #74841B
split-complementary
#1B845F #841B74 #842A1B
monochromatic
#061E16 #11513A #1B845F #25B784 #41D8A3

Accessibility & contrast

On white

4.65
#1B845F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#1B845F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1B845F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B845F#FFFFFF#000000##FFFFFF
##1B845F1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817A5D
Deuteranopia (green-blind)
#757161
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b845f;
/* rgb */ color: rgb(27, 132, 95);
/* oklch */ color: oklch(54.7% 0.109 163.8);
Tailwind
colors: {
  custom: {
    50: '#6aa88c',
    500: '#1b845f',
    950: '#000000',
  },
}
SCSS
$custom: #1b845f;
$custom-light: #6aa88c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b845f",
  "rgb": {
    "r": 27,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 158.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54671,
    "c": 0.10862,
    "h": 163.8
  },
  "luminance": 0.17562
}

Semantic roles & 50–950 ramp

primary
#1B845F
secondary
#B7436C
accent
#3F7BE9
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100C
muted
#7A7F7D

Preview Lab

Preview with #1B845F

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

Preview Lab → · Contrast checker → · Palette generator →

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