#1B7232#1B7232

#1B7232 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.127 H 147.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#1B7232
RGBrgb(27, 114, 50)
HSLhsl(136, 62%, 28%)
HSVhsv(136, 76%, 45%)
CMYKcmyk(76.3%, 0%, 56.1%, 55.3%)
CIE-LABlab(42.00, -39.95, 28.10)
CIE-LCHlch(42.00, 48.84, 144.88°)
OKLaboklab(48.66% -0.1075 0.0675)
OKLCHoklch(48.66% 0.127 147.9)
XYZxyz(7.0445, 12.4971, 5.0579)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7232 #721B5B
analogous
#30721B #1B7232 #1B725D
triadic
#1B7232 #321B72 #72321B
tetradic
#1B7232 #1B3072 #721B5B #725D1B
square
#1B7232 #1B3072 #721B5B #725D1B
split-complementary
#1B7232 #5D1B72 #721B30
monochromatic
#06190B #0F411C #1B7232 #27A348 #38D060

Accessibility & contrast

On white

6.00
#1B7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#1B7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7232
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7232#FFFFFF#000000##FFFFFF
##1B72321.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672C
Deuteranopia (green-blind)
#696037
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1b7232;
/* rgb */ color: rgb(27, 114, 50);
/* oklch */ color: oklch(48.7% 0.127 147.9);
Tailwind
colors: {
  custom: {
    50: '#669b6b',
    500: '#1b7232',
    950: '#000000',
  },
}
SCSS
$custom: #1b7232;
$custom-light: #669b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7232",
  "rgb": {
    "r": 27,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 135.862,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48659,
    "c": 0.12694,
    "h": 147.9
  },
  "luminance": 0.12498
}

Semantic roles & 50–950 ramp

primary
#1B7232
secondary
#A7428C
accent
#43BAE5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1B7232

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

Preview Lab → · Contrast checker → · Palette generator →

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