#1B7240#1B7240

#1B7240 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.9% C 0.113 H 153.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#1B7240
RGBrgb(27, 114, 64)
HSLhsl(146, 62%, 28%)
HSVhsv(146, 76%, 45%)
CMYKcmyk(76.3%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.21, -37.47, 20.63)
CIE-LCHlch(42.21, 42.77, 151.16°)
OKLaboklab(48.91% -0.1009 0.0511)
OKLCHoklch(48.91% 0.113 153.1)
XYZxyz(7.3941, 12.6370, 6.8990)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7240 #721B4D
analogous
#22721B #1B7240 #1B726B
triadic
#1B7240 #401B72 #72401B
tetradic
#1B7240 #1B2272 #721B4D #726B1B
square
#1B7240 #1B2272 #721B4D #726B1B
split-complementary
#1B7240 #6B1B72 #721B22
monochromatic
#06190E #0F4124 #1B7240 #27A35C #38D078

Accessibility & contrast

On white

5.95
#1B7240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#1B7240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7240
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7240#FFFFFF#000000##FFFFFF
##1B72401.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1b7240;
/* rgb */ color: rgb(27, 114, 64);
/* oklch */ color: oklch(48.9% 0.113 153.1);
Tailwind
colors: {
  custom: {
    50: '#659b75',
    500: '#1b7240',
    950: '#000000',
  },
}
SCSS
$custom: #1b7240;
$custom-light: #659b75;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7240",
  "rgb": {
    "r": 27,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 145.517,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.11314,
    "h": 153.1
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#1B7240
secondary
#A7427C
accent
#43A0E5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1B7240

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

Preview Lab → · Contrast checker → · Palette generator →

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