#1B742E#1B742E

#1B742E is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.133 H 146.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#1B742E
RGBrgb(27, 116, 46)
HSLhsl(133, 62%, 28%)
HSVhsv(133, 77%, 45%)
CMYKcmyk(76.7%, 0%, 60.3%, 54.5%)
CIE-LABlab(42.64, -41.31, 30.95)
CIE-LCHlch(42.64, 51.62, 143.15°)
OKLaboklab(49.18% -0.1113 0.0734)
OKLCHoklch(49.18% 0.133 146.6)
XYZxyz(7.1900, 12.9202, 4.6992)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B742E #741B61
analogous
#34741B #1B742E #1B745A
triadic
#1B742E #2E1B74 #742E1B
tetradic
#1B742E #1B3474 #741B61 #745A1B
square
#1B742E #1B3474 #741B61 #745A1B
split-complementary
#1B742E #5A1B74 #741B34
monochromatic
#06190A #0F421A #1B742E #27A642 #39D159

Accessibility & contrast

On white

5.86
#1B742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#1B742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B742E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B742E#FFFFFF#000000##FFFFFF
##1B742E1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766927
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1b742e;
/* rgb */ color: rgb(27, 116, 46);
/* oklch */ color: oklch(49.2% 0.133 146.6);
Tailwind
colors: {
  custom: {
    50: '#679d69',
    500: '#1b742e',
    950: '#000000',
  },
}
SCSS
$custom: #1b742e;
$custom-light: #679d69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b742e",
  "rgb": {
    "r": 27,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 132.809,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.13333,
    "h": 146.6
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#1B742E
secondary
#A94293
accent
#42C3E5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1B742E

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

Preview Lab → · Contrast checker → · Palette generator →

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