#1B8331#1B8331

#1B8331 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.150 H 146.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1B8331
RGBrgb(27, 131, 49)
HSLhsl(133, 66%, 31%)
HSVhsv(133, 79%, 51%)
CMYKcmyk(79.4%, 0%, 62.6%, 48.6%)
CIE-LABlab(47.86, -46.35, 35.53)
CIE-LCHlch(47.86, 58.40, 142.53°)
OKLaboklab(53.52% -0.1248 0.0836)
OKLCHoklch(53.52% 0.15 146.2)
XYZxyz(9.1220, 16.6863, 5.6452)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8331 #831B6D
analogous
#39831B #1B8331 #1B8365
triadic
#1B8331 #311B83 #83311B
tetradic
#1B8331 #1B3983 #831B6D #83651B
square
#1B8331 #1B3983 #831B6D #83651B
split-complementary
#1B8331 #651B83 #831B39
monochromatic
#061E0B #11501E #1B8331 #25B644 #41D861

Accessibility & contrast

On white

4.84
#1B8331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1B8331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8331
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8331#FFFFFF#000000##FFFFFF
##1B83311.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857628
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1b8331;
/* rgb */ color: rgb(27, 131, 49);
/* oklch */ color: oklch(53.5% 0.150 146.2);
Tailwind
colors: {
  custom: {
    50: '#6aa86c',
    500: '#1b8331',
    950: '#000000',
  },
}
SCSS
$custom: #1b8331;
$custom-light: #6aa86c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8331",
  "rgb": {
    "r": 27,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 132.692,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.15022,
    "h": 146.2
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#1B8331
secondary
#B6439E
accent
#3FC5E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1B8331

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

Preview Lab → · Contrast checker → · Palette generator →

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