#197227#197227

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

Color values

HEX#197227
RGBrgb(25, 114, 39)
HSLhsl(129, 64%, 27%)
HSVhsv(129, 78%, 45%)
CMYKcmyk(78.1%, 0%, 65.8%, 55.3%)
CIE-LABlab(41.82, -41.84, 33.48)
CIE-LCHlch(41.82, 53.58, 141.34°)
OKLaboklab(48.46% -0.1129 0.0782)
OKLCHoklch(48.46% 0.137 145.3)
XYZxyz(6.7840, 12.3870, 3.9525)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197227 #721964
analogous
#387219 #197227 #197254
triadic
#197227 #271972 #722719
tetradic
#197227 #193872 #721964 #725419
square
#197227 #193872 #721964 #725419
split-complementary
#197227 #541972 #721938
monochromatic
#061909 #0E4016 #197227 #24A438 #33D24C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##197227#FFFFFF#000000##FFFFFF
##1972271.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)
#74671E
Deuteranopia (green-blind)
#6A602D
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #197227;
/* rgb */ color: rgb(25, 114, 39);
/* oklch */ color: oklch(48.5% 0.137 145.3);
Tailwind
colors: {
  custom: {
    50: '#669b64',
    500: '#197227',
    950: '#000000',
  },
}
SCSS
$custom: #197227;
$custom-light: #669b64;
$custom-dark: #000000;
JSON
{
  "hex": "#197227",
  "rgb": {
    "r": 25,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 129.438,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48464,
    "c": 0.13734,
    "h": 145.3
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#197227
secondary
#A74097
accent
#41CDE7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #197227

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

Preview Lab → · Contrast checker → · Palette generator →

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