#198042#198042

#198042 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.131 H 151.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#198042
RGBrgb(25, 128, 66)
HSLhsl(144, 67%, 30%)
HSVhsv(144, 80%, 50%)
CMYKcmyk(80.5%, 0%, 48.4%, 49.8%)
CIE-LABlab(47.02, -42.89, 25.71)
CIE-LCHlch(47.02, 50.01, 149.06°)
OKLaboklab(52.89% -0.1152 0.0629)
OKLCHoklch(52.89% 0.131 151.4)
XYZxyz(9.1026, 16.0373, 7.7690)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198042 #801957
analogous
#248019 #198042 #198075
triadic
#198042 #421980 #804219
tetradic
#198042 #192480 #801957 #807519
square
#198042 #192480 #801957 #807519
split-complementary
#198042 #751980 #801924
monochromatic
#051A0D #0F4D28 #198042 #23B35C #3BD97A

Accessibility & contrast

On white

4.99
#198042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#198042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198042
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198042#FFFFFF#000000##FFFFFF
##1980421.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743D
Deuteranopia (green-blind)
#756C46
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #198042;
/* rgb */ color: rgb(25, 128, 66);
/* oklch */ color: oklch(52.9% 0.131 151.4);
Tailwind
colors: {
  custom: {
    50: '#68a677',
    500: '#198042',
    950: '#000000',
  },
}
SCSS
$custom: #198042;
$custom-light: #68a677;
$custom-dark: #000000;
JSON
{
  "hex": "#198042",
  "rgb": {
    "r": 25,
    "g": 128,
    "b": 66
  },
  "hsl": {
    "h": 143.883,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.52885,
    "c": 0.13131,
    "h": 151.4
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#198042
secondary
#B44186
accent
#3EA5EA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #198042

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

Preview Lab → · Contrast checker → · Palette generator →

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