#198122#198122

#198122 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.160 H 143.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#198122
RGBrgb(25, 129, 34)
HSLhsl(125, 68%, 30%)
HSVhsv(125, 81%, 51%)
CMYKcmyk(80.6%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.00, -47.62, 41.29)
CIE-LCHlch(47.00, 63.03, 139.08°)
OKLaboklab(52.75% -0.1288 0.0941)
OKLCHoklch(52.75% 0.16 143.9)
XYZxyz(8.5393, 16.0217, 4.1555)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198122 #811978
analogous
#448119 #198122 #198156
triadic
#198122 #221981 #812219
tetradic
#198122 #194481 #811978 #815619
square
#198122 #194481 #811978 #815619
split-complementary
#198122 #561981 #811944
monochromatic
#051A07 #0F4E14 #198122 #23B430 #3BD949

Accessibility & contrast

On white

4.99
#198122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#198122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198122
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198122#FFFFFF#000000##FFFFFF
##1981221.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847412
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #198122;
/* rgb */ color: rgb(25, 129, 34);
/* oklch */ color: oklch(52.8% 0.160 143.9);
Tailwind
colors: {
  custom: {
    50: '#6aa763',
    500: '#198122',
    950: '#000000',
  },
}
SCSS
$custom: #198122;
$custom-light: #6aa763;
$custom-dark: #000000;
JSON
{
  "hex": "#198122",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 125.192,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5275,
    "c": 0.15954,
    "h": 143.9
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#198122
secondary
#B541AB
accent
#3DDBEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #198122

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

Preview Lab → · Contrast checker → · Palette generator →

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