#197F38#197F38

#197F38 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.139 H 148.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#197F38
RGBrgb(25, 127, 56)
HSLhsl(138, 67%, 30%)
HSVhsv(138, 80%, 50%)
CMYKcmyk(80.3%, 0%, 55.9%, 50.2%)
CIE-LABlab(46.54, -44.20, 30.44)
CIE-LCHlch(46.54, 53.67, 145.44°)
OKLaboklab(52.44% -0.1188 0.0731)
OKLCHoklch(52.44% 0.139 148.4)
XYZxyz(8.7034, 15.6699, 6.3065)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F38 #7F1960
analogous
#2D7F19 #197F38 #197F6B
triadic
#197F38 #38197F #7F3819
tetradic
#197F38 #192D7F #7F1960 #7F6B19
square
#197F38 #192D7F #7F1960 #7F6B19
split-complementary
#197F38 #6B197F #7F192D
monochromatic
#051A0B #0F4C21 #197F38 #23B24F #3AD86A

Accessibility & contrast

On white

5.08
#197F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#197F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197F38
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197F38#FFFFFF#000000##FFFFFF
##197F381.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807332
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #197f38;
/* rgb */ color: rgb(25, 127, 56);
/* oklch */ color: oklch(52.4% 0.139 148.4);
Tailwind
colors: {
  custom: {
    50: '#68a570',
    500: '#197f38',
    950: '#000000',
  },
}
SCSS
$custom: #197f38;
$custom-light: #68a570;
$custom-dark: #000000;
JSON
{
  "hex": "#197f38",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 56
  },
  "hsl": {
    "h": 138.235,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52437,
    "c": 0.13944,
    "h": 148.4
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#197F38
secondary
#B34190
accent
#3EB6EA
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #197F38

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

Preview Lab → · Contrast checker → · Palette generator →

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