#198226#198226

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

Color values

HEX#198226
RGBrgb(25, 130, 38)
HSLhsl(127, 68%, 30%)
HSVhsv(127, 81%, 51%)
CMYKcmyk(80.8%, 0%, 70.8%, 49%)
CIE-LABlab(47.38, -47.57, 40.02)
CIE-LCHlch(47.38, 62.16, 139.93°)
OKLaboklab(53.07% -0.1285 0.0919)
OKLCHoklch(53.07% 0.158 144.4)
XYZxyz(8.7328, 16.3108, 4.5214)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198226 #821975
analogous
#408219 #198226 #19825B
triadic
#198226 #261982 #822619
tetradic
#198226 #194082 #821975 #825B19
square
#198226 #194082 #821975 #825B19
split-complementary
#198226 #5B1982 #821940
monochromatic
#051B08 #0F4F17 #198226 #23B535 #3CD94F

Accessibility & contrast

On white

4.93
#198226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #198226
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198226#FFFFFF#000000##FFFFFF
##1982261.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #198226;
/* rgb */ color: rgb(25, 130, 38);
/* oklch */ color: oklch(53.1% 0.158 144.4);
Tailwind
colors: {
  custom: {
    50: '#6aa765',
    500: '#198226',
    950: '#000000',
  },
}
SCSS
$custom: #198226;
$custom-light: #6aa765;
$custom-dark: #000000;
JSON
{
  "hex": "#198226",
  "rgb": {
    "r": 25,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 127.429,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53073,
    "c": 0.15801,
    "h": 144.4
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#198226
secondary
#B641A7
accent
#3DD5EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #198226

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

Preview Lab → · Contrast checker → · Palette generator →

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