#1B852A#1B852A

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

Color values

HEX#1B852A
RGBrgb(27, 133, 42)
HSLhsl(128, 66%, 31%)
HSVhsv(128, 80%, 52%)
CMYKcmyk(79.7%, 0%, 68.4%, 47.8%)
CIE-LABlab(48.48, -47.88, 39.47)
CIE-LCHlch(48.48, 62.05, 140.50°)
OKLaboklab(54.01% -0.1293 0.0913)
OKLCHoklch(54.01% 0.158 144.8)
XYZxyz(9.2568, 17.1741, 5.0171)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B852A #851B76
analogous
#41851B #1B852A #1B855F
triadic
#1B852A #2A1B85 #852A1B
tetradic
#1B852A #1B4185 #851B76 #855F1B
square
#1B852A #1B4185 #851B76 #855F1B
split-complementary
#1B852A #5F1B85 #851B41
monochromatic
#061F0A #11521A #1B852A #25B83A #42D957

Accessibility & contrast

On white

4.74
#1B852A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#1B852A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B852A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B852A#FFFFFF#000000##FFFFFF
##1B852A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781E
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1b852a;
/* rgb */ color: rgb(27, 133, 42);
/* oklch */ color: oklch(54.0% 0.158 144.8);
Tailwind
colors: {
  custom: {
    50: '#6baa68',
    500: '#1b852a',
    950: '#000000',
  },
}
SCSS
$custom: #1b852a;
$custom-light: #6baa68;
$custom-dark: #000000;
JSON
{
  "hex": "#1b852a",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 128.491,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.15823,
    "h": 144.8
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#1B852A
secondary
#B844A8
accent
#3FD1E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B852A

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

Preview Lab → · Contrast checker → · Palette generator →

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