#197818#197818

#197818 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.155 H 142.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#197818
RGBrgb(25, 120, 24)
HSLhsl(119, 67%, 28%)
HSVhsv(119, 80%, 47%)
CMYKcmyk(79.2%, 0%, 80%, 52.9%)
CIE-LABlab(43.81, -45.43, 41.88)
CIE-LCHlch(43.81, 61.78, 137.33°)
OKLaboklab(50.07% -0.1234 0.0939)
OKLCHoklch(50.07% 0.155 142.7)
XYZxyz(7.2818, 13.7047, 3.1255)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197818 #771878
analogous
#497818 #197818 #187847
triadic
#197818 #181978 #781819
tetradic
#197818 #184978 #771878 #784718
square
#197818 #184978 #771878 #784718
split-complementary
#197818 #471878 #781849
monochromatic
#051A05 #0E450E #197818 #24AB22 #36D634

Accessibility & contrast

On white

5.61
#197818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#197818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197818
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197818#FFFFFF#000000##FFFFFF
##1978181.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #197818;
/* rgb */ color: rgb(25, 120, 24);
/* oklch */ color: oklch(50.1% 0.155 142.7);
Tailwind
colors: {
  custom: {
    50: '#68a05d',
    500: '#197818',
    950: '#000000',
  },
}
SCSS
$custom: #197818;
$custom-light: #68a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#197818",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 119.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50071,
    "c": 0.15504,
    "h": 142.7
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#197818
secondary
#AC3FAD
accent
#3EEAE8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #197818

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

Preview Lab → · Contrast checker → · Palette generator →

#197818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva