#1B7919#1B7919

#1B7919 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.155 H 142.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1B7919
RGBrgb(27, 121, 25)
HSLhsl(119, 66%, 29%)
HSVhsv(119, 79%, 47%)
CMYKcmyk(77.7%, 0%, 79.3%, 52.5%)
CIE-LABlab(44.20, -45.36, 41.92)
CIE-LCHlch(44.20, 61.77, 137.26°)
OKLaboklab(50.41% -0.1232 0.0941)
OKLCHoklch(50.41% 0.155 142.6)
XYZxyz(7.4644, 13.9771, 3.2240)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7919 #771979
analogous
#4B7919 #1B7919 #197947
triadic
#1B7919 #191B79 #79191B
tetradic
#1B7919 #194B79 #771979 #794719
square
#1B7919 #194B79 #771979 #794719
split-complementary
#1B7919 #471979 #79194B
monochromatic
#061905 #10460F #1B7919 #26AC23 #3AD637

Accessibility & contrast

On white

5.53
#1B7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#1B7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7919
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7919#FFFFFF#000000##FFFFFF
##1B79191.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#716624
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b7919;
/* rgb */ color: rgb(27, 121, 25);
/* oklch */ color: oklch(50.4% 0.155 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a15d',
    500: '#1b7919',
    950: '#000000',
  },
}
SCSS
$custom: #1b7919;
$custom-light: #69a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7919",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 118.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50411,
    "c": 0.15508,
    "h": 142.6
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#1B7919
secondary
#AB40AE
accent
#3FE9E5
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1B7919

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

Preview Lab → · Contrast checker → · Palette generator →

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