#197228#197228

#197228 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.137 H 145.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#197228
RGBrgb(25, 114, 40)
HSLhsl(130, 64%, 27%)
HSVhsv(130, 78%, 45%)
CMYKcmyk(78.1%, 0%, 64.9%, 55.3%)
CIE-LABlab(41.84, -41.71, 33.00)
CIE-LCHlch(41.84, 53.19, 141.65°)
OKLaboklab(48.48% -0.1125 0.0773)
OKLCHoklch(48.48% 0.137 145.5)
XYZxyz(6.8007, 12.3937, 4.0409)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197228 #721963
analogous
#377219 #197228 #197254
triadic
#197228 #281972 #722819
tetradic
#197228 #193772 #721963 #725419
square
#197228 #193772 #721963 #725419
split-complementary
#197228 #541972 #721937
monochromatic
#061909 #0E4016 #197228 #24A43A #33D24E

Accessibility & contrast

On white

6.04
#197228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#197228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197228
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197228#FFFFFF#000000##FFFFFF
##1972281.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6A602E
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #197228;
/* rgb */ color: rgb(25, 114, 40);
/* oklch */ color: oklch(48.5% 0.137 145.5);
Tailwind
colors: {
  custom: {
    50: '#669b65',
    500: '#197228',
    950: '#000000',
  },
}
SCSS
$custom: #197228;
$custom-light: #669b65;
$custom-dark: #000000;
JSON
{
  "hex": "#197228",
  "rgb": {
    "r": 25,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 130.112,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48476,
    "c": 0.13651,
    "h": 145.5
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#197228
secondary
#A74096
accent
#41CBE7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #197228

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

Preview Lab → · Contrast checker → · Palette generator →

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