#198017#198017

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

Color values

HEX#198017
RGBrgb(25, 128, 23)
HSLhsl(119, 70%, 30%)
HSVhsv(119, 82%, 50%)
CMYKcmyk(80.5%, 0%, 82%, 49.8%)
CIE-LABlab(46.59, -48.17, 44.89)
CIE-LCHlch(46.59, 65.85, 137.02°)
OKLaboklab(52.38% -0.1308 0.1001)
OKLCHoklch(52.38% 0.165 142.6)
XYZxyz(8.2742, 15.7059, 3.4059)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198017 #7E1780
analogous
#4E8017 #198017 #17804A
triadic
#198017 #171980 #801719
tetradic
#198017 #174E80 #7E1780 #804A17
square
#198017 #174E80 #7E1780 #804A17
split-complementary
#198017 #4A1780 #80174E
monochromatic
#051A05 #0F4C0E #198017 #23B420 #3ADB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198017#FFFFFF#000000##FFFFFF
##1980171.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: #198017;
/* rgb */ color: rgb(25, 128, 23);
/* oklch */ color: oklch(52.4% 0.165 142.6);
Tailwind
colors: {
  custom: {
    50: '#6aa65e',
    500: '#198017',
    950: '#000000',
  },
}
SCSS
$custom: #198017;
$custom-light: #6aa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#198017",
  "rgb": {
    "r": 25,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 118.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.16472,
    "h": 142.6
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#198017
secondary
#B23EB4
accent
#3BECE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #198017

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

Preview Lab → · Contrast checker → · Palette generator →

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