#198228#198228

#198228 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.157 H 144.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#198228
RGBrgb(25, 130, 40)
HSLhsl(129, 68%, 30%)
HSVhsv(129, 81%, 51%)
CMYKcmyk(80.8%, 0%, 69.2%, 49%)
CIE-LABlab(47.40, -47.36, 39.17)
CIE-LCHlch(47.40, 61.46, 140.41°)
OKLaboklab(53.09% -0.1278 0.0904)
OKLCHoklch(53.09% 0.157 144.7)
XYZxyz(8.7659, 16.3241, 4.6959)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198228 #821973
analogous
#3F8219 #198228 #19825C
triadic
#198228 #281982 #822819
tetradic
#198228 #193F82 #821973 #825C19
square
#198228 #193F82 #821973 #825C19
split-complementary
#198228 #5C1982 #82193F
monochromatic
#051B08 #0F4F18 #198228 #23B538 #3CD952

Accessibility & contrast

On white

4.92
#198228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#198228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198228
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198228#FFFFFF#000000##FFFFFF
##1982281.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #198228;
/* rgb */ color: rgb(25, 130, 40);
/* oklch */ color: oklch(53.1% 0.157 144.7);
Tailwind
colors: {
  custom: {
    50: '#6aa767',
    500: '#198228',
    950: '#000000',
  },
}
SCSS
$custom: #198228;
$custom-light: #6aa767;
$custom-dark: #000000;
JSON
{
  "hex": "#198228",
  "rgb": {
    "r": 25,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 128.571,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53093,
    "c": 0.15657,
    "h": 144.7
  },
  "luminance": 0.16325
}

Semantic roles & 50–950 ramp

primary
#198228
secondary
#B641A5
accent
#3DD2EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #198228

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

Preview Lab → · Contrast checker → · Palette generator →

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