#198F38#198F38

#198F38 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.160 H 147.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#198F38
RGBrgb(25, 143, 56)
HSLhsl(136, 70%, 33%)
HSVhsv(136, 83%, 56%)
CMYKcmyk(82.5%, 0%, 60.8%, 43.9%)
CIE-LABlab(51.99, -49.87, 36.91)
CIE-LCHlch(51.99, 62.04, 143.49°)
OKLaboklab(56.96% -0.1341 0.0872)
OKLCHoklch(56.96% 0.16 147)
XYZxyz(10.9363, 20.1358, 7.0508)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F38 #8F1970
analogous
#358F19 #198F38 #198F73
triadic
#198F38 #38198F #8F3819
tetradic
#198F38 #19358F #8F1970 #8F7319
square
#198F38 #19358F #8F1970 #8F7319
split-complementary
#198F38 #73198F #8F1935
monochromatic
#07270F #105B24 #198F38 #22C34C #44DE6D

Accessibility & contrast

On white

4.18
#198F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#198F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F38
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F38#FFFFFF#000000##000000
##198F381.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812F
Deuteranopia (green-blind)
#84783F
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f38;
/* rgb */ color: rgb(25, 143, 56);
/* oklch */ color: oklch(57.0% 0.160 147.0);
Tailwind
colors: {
  custom: {
    50: '#6db171',
    500: '#198f38',
    950: '#000000',
  },
}
SCSS
$custom: #198f38;
$custom-light: #6db171;
$custom-dark: #000000;
JSON
{
  "hex": "#198f38",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 135.763,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56959,
    "c": 0.15994,
    "h": 147
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#198F38
secondary
#BF449F
accent
#3BBEED
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #198F38

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

Preview Lab → · Contrast checker → · Palette generator →

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