#1B793E#1B793E

#1B793E is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.125 H 150.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1B793E
RGBrgb(27, 121, 62)
HSLhsl(142, 64%, 29%)
HSVhsv(142, 78%, 47%)
CMYKcmyk(77.7%, 0%, 48.8%, 52.5%)
CIE-LABlab(44.60, -40.63, 24.82)
CIE-LCHlch(44.60, 47.61, 148.58°)
OKLaboklab(50.87% -0.1092 0.0608)
OKLCHoklch(50.87% 0.125 150.9)
XYZxyz(8.1582, 14.2546, 6.8779)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B793E #791B56
analogous
#27791B #1B793E #1B796D
triadic
#1B793E #3E1B79 #793E1B
tetradic
#1B793E #1B2779 #791B56 #796D1B
square
#1B793E #1B2779 #791B56 #796D1B
split-complementary
#1B793E #6D1B79 #791B27
monochromatic
#06190D #104724 #1B793E #26AB58 #3BD374

Accessibility & contrast

On white

5.45
#1B793E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1B793E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B793E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B793E#FFFFFF#000000##FFFFFF
##1B793E1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E39
Deuteranopia (green-blind)
#6F6642
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b793e;
/* rgb */ color: rgb(27, 121, 62);
/* oklch */ color: oklch(50.9% 0.125 150.9);
Tailwind
colors: {
  custom: {
    50: '#67a174',
    500: '#1b793e',
    950: '#000000',
  },
}
SCSS
$custom: #1b793e;
$custom-light: #67a174;
$custom-dark: #000000;
JSON
{
  "hex": "#1b793e",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 62
  },
  "hsl": {
    "h": 142.34,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.125,
    "h": 150.9
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#1B793E
secondary
#AD4386
accent
#41A9E7
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1B793E

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

Preview Lab → · Contrast checker → · Palette generator →

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