#197B21#197B21

#197B21 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.153 H 143.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#197B21
RGBrgb(25, 123, 33)
HSLhsl(125, 66%, 29%)
HSVhsv(125, 80%, 48%)
CMYKcmyk(79.7%, 0%, 73.2%, 51.8%)
CIE-LABlab(44.92, -45.68, 39.53)
CIE-LCHlch(44.92, 60.41, 139.13°)
OKLaboklab(51.01% -0.1236 0.0903)
OKLCHoklch(51.01% 0.153 143.9)
XYZxyz(7.7579, 14.4815, 3.8249)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197B21 #7B1973
analogous
#427B19 #197B21 #197B52
triadic
#197B21 #21197B #7B2119
tetradic
#197B21 #19427B #7B1973 #7B5219
square
#197B21 #19427B #7B1973 #7B5219
split-complementary
#197B21 #52197B #7B1942
monochromatic
#051907 #0F4813 #197B21 #23AE2F #38D745

Accessibility & contrast

On white

5.39
#197B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#197B21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197B21
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197B21#FFFFFF#000000##FFFFFF
##197B211.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F13
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #197b21;
/* rgb */ color: rgb(25, 123, 33);
/* oklch */ color: oklch(51.0% 0.153 143.9);
Tailwind
colors: {
  custom: {
    50: '#68a262',
    500: '#197b21',
    950: '#000000',
  },
}
SCSS
$custom: #197b21;
$custom-light: #68a262;
$custom-dark: #000000;
JSON
{
  "hex": "#197b21",
  "rgb": {
    "r": 25,
    "g": 123,
    "b": 33
  },
  "hsl": {
    "h": 124.898,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51013,
    "c": 0.15305,
    "h": 143.9
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#197B21
secondary
#AF40A6
accent
#3FDBE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #197B21

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

Preview Lab → · Contrast checker → · Palette generator →

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