#1B852F#1B852F

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

Color values

HEX#1B852F
RGBrgb(27, 133, 47)
HSLhsl(131, 66%, 31%)
HSVhsv(131, 80%, 52%)
CMYKcmyk(79.7%, 0%, 64.7%, 47.8%)
CIE-LABlab(48.53, -47.30, 37.24)
CIE-LCHlch(48.53, 60.20, 141.79°)
OKLaboklab(54.06% -0.1275 0.0871)
OKLCHoklch(54.06% 0.154 145.7)
XYZxyz(9.3519, 17.2122, 5.5182)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B852F #851B71
analogous
#3C851B #1B852F #1B8564
triadic
#1B852F #2F1B85 #852F1B
tetradic
#1B852F #1B3C85 #851B71 #85641B
square
#1B852F #1B3C85 #851B71 #85641B
split-complementary
#1B852F #641B85 #851B3C
monochromatic
#061F0B #11521D #1B852F #25B841 #42D95E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B852F#FFFFFF#000000##FFFFFF
##1B852F1.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)
#877825
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1b852f;
/* rgb */ color: rgb(27, 133, 47);
/* oklch */ color: oklch(54.1% 0.154 145.7);
Tailwind
colors: {
  custom: {
    50: '#6baa6b',
    500: '#1b852f',
    950: '#000000',
  },
}
SCSS
$custom: #1b852f;
$custom-light: #6baa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b852f",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 131.321,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54062,
    "c": 0.15437,
    "h": 145.7
  },
  "luminance": 0.17213
}

Semantic roles & 50–950 ramp

primary
#1B852F
secondary
#B844A2
accent
#3FC9E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1B852F

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

Preview Lab → · Contrast checker → · Palette generator →

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