#197E21#197E21

#197E21 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.157 H 143.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#197E21
RGBrgb(25, 126, 33)
HSLhsl(125, 67%, 30%)
HSVhsv(125, 80%, 49%)
CMYKcmyk(80.2%, 0%, 73.8%, 50.6%)
CIE-LABlab(45.96, -46.70, 40.61)
CIE-LCHlch(45.96, 61.89, 138.99°)
OKLaboklab(51.88% -0.1264 0.0925)
OKLCHoklch(51.88% 0.157 143.8)
XYZxyz(8.1357, 15.2372, 3.9509)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197E21 #7E1976
analogous
#447E19 #197E21 #197E53
triadic
#197E21 #21197E #7E2119
tetradic
#197E21 #19447E #7E1976 #7E5319
square
#197E21 #19447E #7E1976 #7E5319
split-complementary
#197E21 #53197E #7E1944
monochromatic
#051A07 #0F4B14 #197E21 #23B12E #3AD846

Accessibility & contrast

On white

5.19
#197E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#197E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197E21
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197E21#FFFFFF#000000##FFFFFF
##197E211.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817112
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #197e21;
/* rgb */ color: rgb(25, 126, 33);
/* oklch */ color: oklch(51.9% 0.157 143.8);
Tailwind
colors: {
  custom: {
    50: '#69a462',
    500: '#197e21',
    950: '#000000',
  },
}
SCSS
$custom: #197e21;
$custom-light: #69a462;
$custom-dark: #000000;
JSON
{
  "hex": "#197e21",
  "rgb": {
    "r": 25,
    "g": 126,
    "b": 33
  },
  "hsl": {
    "h": 124.752,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.15665,
    "h": 143.8
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#197E21
secondary
#B241A9
accent
#3EDCEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #197E21

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

Preview Lab → · Contrast checker → · Palette generator →

#197E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva