#198127#198127

#198127 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.156 H 144.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#198127
RGBrgb(25, 129, 39)
HSLhsl(128, 68%, 30%)
HSVhsv(128, 81%, 51%)
CMYKcmyk(80.6%, 0%, 69.8%, 49.4%)
CIE-LABlab(47.04, -47.12, 39.22)
CIE-LCHlch(47.04, 61.31, 140.23°)
OKLaboklab(52.8% -0.1272 0.0904)
OKLCHoklch(52.8% 0.156 144.6)
XYZxyz(8.6168, 16.0526, 4.5634)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198127 #811973
analogous
#3F8119 #198127 #19815B
triadic
#198127 #271981 #812719
tetradic
#198127 #193F81 #811973 #815B19
square
#198127 #193F81 #811973 #815B19
split-complementary
#198127 #5B1981 #81193F
monochromatic
#051A08 #0F4E18 #198127 #23B436 #3BD951

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198127#FFFFFF#000000##FFFFFF
##1981271.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)
#83741B
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #198127;
/* rgb */ color: rgb(25, 129, 39);
/* oklch */ color: oklch(52.8% 0.156 144.6);
Tailwind
colors: {
  custom: {
    50: '#6aa766',
    500: '#198127',
    950: '#000000',
  },
}
SCSS
$custom: #198127;
$custom-light: #6aa766;
$custom-dark: #000000;
JSON
{
  "hex": "#198127",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 128.077,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.15609,
    "h": 144.6
  },
  "luminance": 0.16054
}

Semantic roles & 50–950 ramp

primary
#198127
secondary
#B541A5
accent
#3DD3EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #198127

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

Preview Lab → · Contrast checker → · Palette generator →

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