#198118#198118

#198118 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.165 H 142.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#198118
RGBrgb(25, 129, 24)
HSLhsl(119, 69%, 30%)
HSVhsv(119, 81%, 51%)
CMYKcmyk(80.6%, 0%, 81.4%, 49.4%)
CIE-LABlab(46.94, -48.43, 44.90)
CIE-LCHlch(46.94, 66.04, 137.17°)
OKLaboklab(52.68% -0.1315 0.1002)
OKLCHoklch(52.68% 0.165 142.7)
XYZxyz(8.4155, 15.9721, 3.5034)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198118 #801881
analogous
#4D8118 #198118 #18814C
triadic
#198118 #181981 #811819
tetradic
#198118 #184D81 #801881 #814C18
square
#198118 #184D81 #801881 #814C18
split-complementary
#198118 #4C1881 #81184D
monochromatic
#051A05 #0F4D0E #198118 #23B522 #3BDA39

Accessibility & contrast

On white

5.01
#198118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#198118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198118
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198118#FFFFFF#000000##FFFFFF
##1981181.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #198118;
/* rgb */ color: rgb(25, 129, 24);
/* oklch */ color: oklch(52.7% 0.165 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ba75e',
    500: '#198118',
    950: '#000000',
  },
}
SCSS
$custom: #198118;
$custom-light: #6ba75e;
$custom-dark: #000000;
JSON
{
  "hex": "#198118",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 119.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.16534,
    "h": 142.7
  },
  "luminance": 0.15973
}

Semantic roles & 50–950 ramp

primary
#198118
secondary
#B440B5
accent
#3CEBEA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #198118

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

Preview Lab → · Contrast checker → · Palette generator →

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