#198418#198418

#198418 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.5% C 0.169 H 142.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#198418
RGBrgb(25, 132, 24)
HSLhsl(119, 69%, 31%)
HSVhsv(119, 82%, 52%)
CMYKcmyk(81.1%, 0%, 81.8%, 48.2%)
CIE-LABlab(47.97, -49.41, 45.89)
CIE-LCHlch(47.97, 67.44, 137.12°)
OKLaboklab(53.54% -0.1342 0.1023)
OKLCHoklch(53.54% 0.169 142.7)
XYZxyz(8.8165, 16.7741, 3.6370)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198418 #831884
analogous
#4F8418 #198418 #18844D
triadic
#198418 #181984 #841819
tetradic
#198418 #184F84 #831884 #844D18
square
#198418 #184F84 #831884 #844D18
split-complementary
#198418 #4D1884 #84184F
monochromatic
#051C05 #0F500F #198418 #23B821 #3DDB3B

Accessibility & contrast

On white

4.82
#198418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#198418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198418
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198418#FFFFFF#000000##FFFFFF
##1984181.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #198418;
/* rgb */ color: rgb(25, 132, 24);
/* oklch */ color: oklch(53.5% 0.169 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ba95f',
    500: '#198418',
    950: '#000000',
  },
}
SCSS
$custom: #198418;
$custom-light: #6ba95f;
$custom-dark: #000000;
JSON
{
  "hex": "#198418",
  "rgb": {
    "r": 25,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 119.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.16871,
    "h": 142.7
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#198418
secondary
#B740B8
accent
#3CECEA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #198418

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

Preview Lab → · Contrast checker → · Palette generator →

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