#198115#198115

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

Color values

HEX#198115
RGBrgb(25, 129, 21)
HSLhsl(118, 72%, 29%)
HSVhsv(118, 84%, 51%)
CMYKcmyk(80.6%, 0%, 83.7%, 49.4%)
CIE-LABlab(46.92, -48.63, 45.83)
CIE-LCHlch(46.92, 66.82, 136.70°)
OKLaboklab(52.66% -0.1322 0.1017)
OKLCHoklch(52.66% 0.167 142.4)
XYZxyz(8.3860, 15.9603, 3.3480)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198115 #7D1581
analogous
#4F8115 #198115 #158147
triadic
#198115 #151981 #811519
tetradic
#198115 #154F81 #7D1581 #814715
square
#198115 #154F81 #7D1581 #814715
split-complementary
#198115 #471581 #81154F
monochromatic
#051A04 #0F4C0C #198115 #23B61E #39DE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198115#FFFFFF#000000##FFFFFF
##1981151.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)
#796C23
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #198115;
/* rgb */ color: rgb(25, 129, 21);
/* oklch */ color: oklch(52.7% 0.167 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba75d',
    500: '#198115',
    950: '#000000',
  },
}
SCSS
$custom: #198115;
$custom-light: #6ba75d;
$custom-dark: #000000;
JSON
{
  "hex": "#198115",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 117.778,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52657,
    "c": 0.16678,
    "h": 142.4
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#198115
secondary
#B13CB6
accent
#39EFE8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #198115

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

Preview Lab → · Contrast checker → · Palette generator →

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