#197E1C#197E1C

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

Color values

HEX#197E1C
RGBrgb(25, 126, 28)
HSLhsl(122, 67%, 30%)
HSVhsv(122, 80%, 49%)
CMYKcmyk(80.2%, 0%, 77.8%, 50.6%)
CIE-LABlab(45.92, -47.14, 42.52)
CIE-LCHlch(45.92, 63.48, 137.95°)
OKLaboklab(51.84% -0.1278 0.0958)
OKLCHoklch(51.84% 0.16 143.1)
XYZxyz(8.0708, 15.2113, 3.6091)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197E1C #7E197B
analogous
#497E19 #197E1C #197E4F
triadic
#197E1C #1C197E #7E1C19
tetradic
#197E1C #19497E #7E197B #7E4F19
square
#197E1C #19497E #7E197B #7E4F19
split-complementary
#197E1C #4F197E #7E1949
monochromatic
#051A06 #0F4B11 #197E1C #23B127 #3AD83E

Accessibility & contrast

On white

5.19
#197E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #197E1C
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197E1C#FFFFFF#000000##FFFFFF
##197E1C1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #197e1c;
/* rgb */ color: rgb(25, 126, 28);
/* oklch */ color: oklch(51.8% 0.160 143.1);
Tailwind
colors: {
  custom: {
    50: '#69a460',
    500: '#197e1c',
    950: '#000000',
  },
}
SCSS
$custom: #197e1c;
$custom-light: #69a460;
$custom-dark: #000000;
JSON
{
  "hex": "#197e1c",
  "rgb": {
    "r": 25,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 121.782,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.15975,
    "h": 143.1
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#197E1C
secondary
#B241AF
accent
#3EE5EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #197E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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