#1B741B#1B741B

#1B741B is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.148 H 142.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#1B741B
RGBrgb(27, 116, 27)
HSLhsl(120, 62%, 28%)
HSVhsv(120, 77%, 45%)
CMYKcmyk(76.7%, 0%, 76.7%, 54.5%)
CIE-LABlab(42.46, -43.47, 39.44)
CIE-LCHlch(42.46, 58.69, 137.78°)
OKLaboklab(48.97% -0.118 0.0893)
OKLCHoklch(48.97% 0.148 142.9)
XYZxyz(6.8948, 12.8021, 3.1444)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B741B #741B74
analogous
#47741B #1B741B #1B7447
triadic
#1B741B #1B1B74 #741B1B
tetradic
#1B741B #1B4774 #741B74 #74471B
square
#1B741B #1B4774 #741B74 #74471B
split-complementary
#1B741B #471B74 #741B47
monochromatic
#061906 #0F420F #1B741B #27A627 #39D139

Accessibility & contrast

On white

5.90
#1B741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#1B741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B741B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B741B#FFFFFF#000000##FFFFFF
##1B741B1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77680A
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1b741b;
/* rgb */ color: rgb(27, 116, 27);
/* oklch */ color: oklch(49.0% 0.148 142.9);
Tailwind
colors: {
  custom: {
    50: '#689d5e',
    500: '#1b741b',
    950: '#000000',
  },
}
SCSS
$custom: #1b741b;
$custom-light: #689d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b741b",
  "rgb": {
    "r": 27,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48973,
    "c": 0.14796,
    "h": 142.9
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#1B741B
secondary
#A942A9
accent
#42E5E5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1B741B

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

Preview Lab → · Contrast checker → · Palette generator →

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