#1B852D#1B852D

#1B852D is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.156 H 145.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#1B852D
RGBrgb(27, 133, 45)
HSLhsl(130, 66%, 31%)
HSVhsv(130, 80%, 52%)
CMYKcmyk(79.7%, 0%, 66.2%, 47.8%)
CIE-LABlab(48.51, -47.54, 38.15)
CIE-LCHlch(48.51, 60.95, 141.26°)
OKLaboklab(54.04% -0.1282 0.0888)
OKLCHoklch(54.04% 0.156 145.3)
XYZxyz(9.3125, 17.1964, 5.3106)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B852D #851B73
analogous
#3E851B #1B852D #1B8562
triadic
#1B852D #2D1B85 #852D1B
tetradic
#1B852D #1B3E85 #851B73 #85621B
square
#1B852D #1B3E85 #851B73 #85621B
split-complementary
#1B852D #621B85 #851B3E
monochromatic
#061F0B #11521C #1B852D #25B83E #42D95B

Accessibility & contrast

On white

4.73
#1B852D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#1B852D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B852D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B852D#FFFFFF#000000##FFFFFF
##1B852D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877822
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1b852d;
/* rgb */ color: rgb(27, 133, 45);
/* oklch */ color: oklch(54.0% 0.156 145.3);
Tailwind
colors: {
  custom: {
    50: '#6baa6a',
    500: '#1b852d',
    950: '#000000',
  },
}
SCSS
$custom: #1b852d;
$custom-light: #6baa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b852d",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 130.189,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54039,
    "c": 0.15595,
    "h": 145.3
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#1B852D
secondary
#B844A4
accent
#3FCCE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1B852D

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

Preview Lab → · Contrast checker → · Palette generator →

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