#1B7331#1B7331

#1B7331 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.129 H 147.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#1B7331
RGBrgb(27, 115, 49)
HSLhsl(135, 62%, 28%)
HSVhsv(135, 77%, 45%)
CMYKcmyk(76.5%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.33, -40.49, 29.03)
CIE-LCHlch(42.33, 49.82, 144.36°)
OKLaboklab(48.93% -0.109 0.0695)
OKLCHoklch(48.93% 0.129 147.5)
XYZxyz(7.1366, 12.7154, 4.9833)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7331 #731B5D
analogous
#31731B #1B7331 #1B735D
triadic
#1B7331 #311B73 #73311B
tetradic
#1B7331 #1B3173 #731B5D #735D1B
square
#1B7331 #1B3173 #731B5D #735D1B
split-complementary
#1B7331 #5D1B73 #731B31
monochromatic
#06190B #0F411C #1B7331 #27A546 #38D05E

Accessibility & contrast

On white

5.93
#1B7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#1B7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7331
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7331#FFFFFF#000000##FFFFFF
##1B73311.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6A6136
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1b7331;
/* rgb */ color: rgb(27, 115, 49);
/* oklch */ color: oklch(48.9% 0.129 147.5);
Tailwind
colors: {
  custom: {
    50: '#669c6b',
    500: '#1b7331',
    950: '#000000',
  },
}
SCSS
$custom: #1b7331;
$custom-light: #669c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7331",
  "rgb": {
    "r": 27,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 135,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48933,
    "c": 0.12925,
    "h": 147.5
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#1B7331
secondary
#A8428E
accent
#43BCE5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1B7331

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

Preview Lab → · Contrast checker → · Palette generator →

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