#198040#198040

#198040 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.133 H 150.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#198040
RGBrgb(25, 128, 64)
HSLhsl(143, 67%, 30%)
HSVhsv(143, 80%, 50%)
CMYKcmyk(80.5%, 0%, 50%, 49.8%)
CIE-LABlab(46.99, -43.25, 26.76)
CIE-LCHlch(46.99, 50.86, 148.26°)
OKLaboklab(52.85% -0.1162 0.0652)
OKLCHoklch(52.85% 0.133 150.7)
XYZxyz(9.0447, 16.0141, 7.4638)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198040 #801959
analogous
#268019 #198040 #198073
triadic
#198040 #401980 #804019
tetradic
#198040 #192680 #801959 #807319
square
#198040 #192680 #801959 #807319
split-complementary
#198040 #731980 #801926
monochromatic
#051A0D #0F4D26 #198040 #23B35A #3BD977

Accessibility & contrast

On white

5.00
#198040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#198040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198040
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198040#FFFFFF#000000##FFFFFF
##1980401.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81743B
Deuteranopia (green-blind)
#756C45
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #198040;
/* rgb */ color: rgb(25, 128, 64);
/* oklch */ color: oklch(52.8% 0.133 150.7);
Tailwind
colors: {
  custom: {
    50: '#68a676',
    500: '#198040',
    950: '#000000',
  },
}
SCSS
$custom: #198040;
$custom-light: #68a676;
$custom-dark: #000000;
JSON
{
  "hex": "#198040",
  "rgb": {
    "r": 25,
    "g": 128,
    "b": 64
  },
  "hsl": {
    "h": 142.718,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.5285,
    "c": 0.13324,
    "h": 150.7
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

primary
#198040
secondary
#B44188
accent
#3EA9EA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #198040

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

Preview Lab → · Contrast checker → · Palette generator →

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