#1B852C#1B852C

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

Color values

HEX#1B852C
RGBrgb(27, 133, 44)
HSLhsl(130, 66%, 31%)
HSVhsv(130, 80%, 52%)
CMYKcmyk(79.7%, 0%, 66.9%, 47.8%)
CIE-LABlab(48.50, -47.66, 38.59)
CIE-LCHlch(48.50, 61.32, 141.00°)
OKLaboklab(54.03% -0.1286 0.0896)
OKLCHoklch(54.03% 0.157 145.1)
XYZxyz(9.2935, 17.1888, 5.2104)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B852C #851B74
analogous
#3F851B #1B852C #1B8561
triadic
#1B852C #2C1B85 #852C1B
tetradic
#1B852C #1B3F85 #851B74 #85611B
square
#1B852C #1B3F85 #851B74 #85611B
split-complementary
#1B852C #611B85 #851B3F
monochromatic
#061F0A #11521B #1B852C #25B83D #42D95A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B852C#FFFFFF#000000##FFFFFF
##1B852C1.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)
#877821
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1b852c;
/* rgb */ color: rgb(27, 133, 44);
/* oklch */ color: oklch(54.0% 0.157 145.1);
Tailwind
colors: {
  custom: {
    50: '#6baa69',
    500: '#1b852c',
    950: '#000000',
  },
}
SCSS
$custom: #1b852c;
$custom-light: #6baa69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b852c",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 129.623,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.15672,
    "h": 145.1
  },
  "luminance": 0.1719
}

Semantic roles & 50–950 ramp

primary
#1B852C
secondary
#B844A6
accent
#3FCEE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1B852C

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

Preview Lab → · Contrast checker → · Palette generator →

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