#198018#198018

#198018 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.164 H 142.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#198018
RGBrgb(25, 128, 24)
HSLhsl(119, 68%, 30%)
HSVhsv(119, 81%, 50%)
CMYKcmyk(80.5%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.59, -48.10, 44.57)
CIE-LCHlch(46.59, 65.58, 137.18°)
OKLaboklab(52.39% -0.1306 0.0995)
OKLCHoklch(52.39% 0.164 142.7)
XYZxyz(8.2844, 15.7100, 3.4597)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198018 #7F1880
analogous
#4D8018 #198018 #18804B
triadic
#198018 #181980 #801819
tetradic
#198018 #184D80 #7F1880 #804B18
square
#198018 #184D80 #7F1880 #804B18
split-complementary
#198018 #4B1880 #80184D
monochromatic
#051A05 #0F4C0E #198018 #23B422 #3ADA39

Accessibility & contrast

On white

5.07
#198018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#198018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198018
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198018#FFFFFF#000000##FFFFFF
##1980181.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #198018;
/* rgb */ color: rgb(25, 128, 24);
/* oklch */ color: oklch(52.4% 0.164 142.7);
Tailwind
colors: {
  custom: {
    50: '#6aa65e',
    500: '#198018',
    950: '#000000',
  },
}
SCSS
$custom: #198018;
$custom-light: #6aa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#198018",
  "rgb": {
    "r": 25,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 119.423,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52387,
    "c": 0.16421,
    "h": 142.7
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#198018
secondary
#B340B4
accent
#3DEBEA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #198018

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

Preview Lab → · Contrast checker → · Palette generator →

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