#198117#198117

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

Color values

HEX#198117
RGBrgb(25, 129, 23)
HSLhsl(119, 70%, 30%)
HSVhsv(119, 82%, 51%)
CMYKcmyk(80.6%, 0%, 82.2%, 49.4%)
CIE-LABlab(46.93, -48.50, 45.22)
CIE-LCHlch(46.93, 66.31, 137.00°)
OKLaboklab(52.67% -0.1317 0.1007)
OKLCHoklch(52.67% 0.166 142.6)
XYZxyz(8.4053, 15.9680, 3.4496)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198117 #7F1781
analogous
#4E8117 #198117 #17814A
triadic
#198117 #171981 #811719
tetradic
#198117 #174E81 #7F1781 #814A17
square
#198117 #174E81 #7F1781 #814A17
split-complementary
#198117 #4A1781 #81174E
monochromatic
#051A05 #0F4D0E #198117 #23B520 #3ADB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198117#FFFFFF#000000##FFFFFF
##1981171.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)
#796C24
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #198117;
/* rgb */ color: rgb(25, 129, 23);
/* oklch */ color: oklch(52.7% 0.166 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ba75e',
    500: '#198117',
    950: '#000000',
  },
}
SCSS
$custom: #198117;
$custom-light: #6ba75e;
$custom-dark: #000000;
JSON
{
  "hex": "#198117",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 118.868,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52669,
    "c": 0.16584,
    "h": 142.6
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#198117
secondary
#B33EB5
accent
#3BEDE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #198117

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

Preview Lab → · Contrast checker → · Palette generator →

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