#197831#197831

#197831 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.137 H 147.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#197831
RGBrgb(25, 120, 49)
HSLhsl(135, 66%, 28%)
HSVhsv(135, 79%, 47%)
CMYKcmyk(79.2%, 0%, 59.2%, 52.9%)
CIE-LABlab(44.03, -42.68, 31.05)
CIE-LCHlch(44.03, 52.78, 143.96°)
OKLaboklab(50.33% -0.1148 0.0739)
OKLCHoklch(50.33% 0.137 147.2)
XYZxyz(7.6712, 13.8605, 5.1762)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197831 #781960
analogous
#307819 #197831 #197860
triadic
#197831 #311978 #783119
tetradic
#197831 #193078 #781960 #786019
square
#197831 #193078 #781960 #786019
split-complementary
#197831 #601978 #781930
monochromatic
#05190A #0E451C #197831 #24AB46 #36D55E

Accessibility & contrast

On white

5.57
#197831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#197831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197831
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197831#FFFFFF#000000##FFFFFF
##1978311.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D2A
Deuteranopia (green-blind)
#6F6537
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #197831;
/* rgb */ color: rgb(25, 120, 49);
/* oklch */ color: oklch(50.3% 0.137 147.2);
Tailwind
colors: {
  custom: {
    50: '#67a06b',
    500: '#197831',
    950: '#000000',
  },
}
SCSS
$custom: #197831;
$custom-light: #67a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#197831",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 49
  },
  "hsl": {
    "h": 135.158,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50331,
    "c": 0.13655,
    "h": 147.2
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#197831
secondary
#AD4091
accent
#3FBEE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #197831

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

Preview Lab → · Contrast checker → · Palette generator →

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