#197E1B#197E1B

#197E1B is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.160 H 143.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#197E1B
RGBrgb(25, 126, 27)
HSLhsl(121, 67%, 30%)
HSVhsv(121, 80%, 49%)
CMYKcmyk(80.2%, 0%, 78.6%, 50.6%)
CIE-LABlab(45.92, -47.22, 42.88)
CIE-LCHlch(45.92, 63.78, 137.76°)
OKLaboklab(51.83% -0.1281 0.0964)
OKLCHoklch(51.83% 0.16 143)
XYZxyz(8.0591, 15.2066, 3.5471)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197E1B #7E197C
analogous
#4A7E19 #197E1B #197E4E
triadic
#197E1B #1B197E #7E1B19
tetradic
#197E1B #194A7E #7E197C #7E4E19
square
#197E1B #194A7E #7E197C #7E4E19
split-complementary
#197E1B #4E197E #7E194A
monochromatic
#051A05 #0F4B10 #197E1B #23B126 #3AD83D

Accessibility & contrast

On white

5.20
#197E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#197E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197E1B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197E1B#FFFFFF#000000##FFFFFF
##197E1B1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #197e1b;
/* rgb */ color: rgb(25, 126, 27);
/* oklch */ color: oklch(51.8% 0.160 143.0);
Tailwind
colors: {
  custom: {
    50: '#6aa45f',
    500: '#197e1b',
    950: '#000000',
  },
}
SCSS
$custom: #197e1b;
$custom-light: #6aa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#197e1b",
  "rgb": {
    "r": 25,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 121.188,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.16031,
    "h": 143
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

primary
#197E1B
secondary
#B241B0
accent
#3EE6EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197E1B

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

Preview Lab → · Contrast checker → · Palette generator →

#197E1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva