#198F27#198F27

#198F27 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.173 H 144.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#198F27
RGBrgb(25, 143, 39)
HSLhsl(127, 70%, 33%)
HSVhsv(127, 83%, 56%)
CMYKcmyk(82.5%, 0%, 72.7%, 43.9%)
CIE-LABlab(51.83, -51.80, 44.30)
CIE-LCHlch(51.83, 68.16, 139.46°)
OKLaboklab(56.78% -0.14 0.101)
OKLCHoklch(56.78% 0.173 144.2)
XYZxyz(10.5888, 19.9968, 5.2208)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F27 #8F1981
analogous
#468F19 #198F27 #198F62
triadic
#198F27 #27198F #8F2719
tetradic
#198F27 #19468F #8F1981 #8F6219
square
#198F27 #19468F #8F1981 #8F6219
split-complementary
#198F27 #62198F #8F1946
monochromatic
#07270B #105B19 #198F27 #22C335 #44DE56

Accessibility & contrast

On white

4.20
#198F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#198F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F27
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F27#FFFFFF#000000##000000
##198F271.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f27;
/* rgb */ color: rgb(25, 143, 39);
/* oklch */ color: oklch(56.8% 0.173 144.2);
Tailwind
colors: {
  custom: {
    50: '#6db167',
    500: '#198f27',
    950: '#000000',
  },
}
SCSS
$custom: #198f27;
$custom-light: #6db167;
$custom-dark: #000000;
JSON
{
  "hex": "#198f27",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 127.119,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56778,
    "c": 0.17262,
    "h": 144.2
  },
  "luminance": 0.19998
}

Semantic roles & 50–950 ramp

primary
#198F27
secondary
#BF44B1
accent
#3BD8ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #198F27

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

Preview Lab → · Contrast checker → · Palette generator →

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