#198225#198225

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

Color values

HEX#198225
RGBrgb(25, 130, 37)
HSLhsl(127, 68%, 30%)
HSVhsv(127, 81%, 51%)
CMYKcmyk(80.8%, 0%, 71.5%, 49%)
CIE-LABlab(47.37, -47.67, 40.43)
CIE-LCHlch(47.37, 62.51, 139.70°)
OKLaboklab(53.06% -0.1288 0.0927)
OKLCHoklch(53.06% 0.159 144.3)
XYZxyz(8.7169, 16.3045, 4.4376)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198225 #821976
analogous
#418219 #198225 #198259
triadic
#198225 #251982 #822519
tetradic
#198225 #194182 #821976 #825919
square
#198225 #194182 #821976 #825919
split-complementary
#198225 #591982 #821941
monochromatic
#051B08 #0F4F16 #198225 #23B534 #3CD94E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198225#FFFFFF#000000##FFFFFF
##1982251.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)
#857517
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #198225;
/* rgb */ color: rgb(25, 130, 37);
/* oklch */ color: oklch(53.1% 0.159 144.3);
Tailwind
colors: {
  custom: {
    50: '#6aa765',
    500: '#198225',
    950: '#000000',
  },
}
SCSS
$custom: #198225;
$custom-light: #6aa765;
$custom-dark: #000000;
JSON
{
  "hex": "#198225",
  "rgb": {
    "r": 25,
    "g": 130,
    "b": 37
  },
  "hsl": {
    "h": 126.857,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.1587,
    "h": 144.3
  },
  "luminance": 0.16306
}

Semantic roles & 50–950 ramp

primary
#198225
secondary
#B641A9
accent
#3DD7EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #198225

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

Preview Lab → · Contrast checker → · Palette generator →

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