#198A23#198A23

#198A23 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.169 H 143.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#198A23
RGBrgb(25, 138, 35)
HSLhsl(125, 69%, 32%)
HSVhsv(125, 82%, 54%)
CMYKcmyk(81.9%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.10, -50.52, 44.08)
CIE-LCHlch(50.10, 67.05, 138.90°)
OKLaboklab(55.33% -0.1367 0.1001)
OKLCHoklch(55.33% 0.169 143.8)
XYZxyz(9.7921, 18.5038, 4.6453)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198A23 #8A1980
analogous
#488A19 #198A23 #198A5C
triadic
#198A23 #23198A #8A2319
tetradic
#198A23 #19488A #8A1980 #8A5C19
square
#198A23 #19488A #8A1980 #8A5C19
split-complementary
#198A23 #5C198A #8A1948
monochromatic
#062209 #105616 #198A23 #22BE30 #41DD4F

Accessibility & contrast

On white

4.47
#198A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#198A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198A23
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198A23#FFFFFF#000000##000000
##198A231.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C11
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #198a23;
/* rgb */ color: rgb(25, 138, 35);
/* oklch */ color: oklch(55.3% 0.169 143.8);
Tailwind
colors: {
  custom: {
    50: '#6cad65',
    500: '#198a23',
    950: '#000000',
  },
}
SCSS
$custom: #198a23;
$custom-light: #6cad65;
$custom-dark: #000000;
JSON
{
  "hex": "#198a23",
  "rgb": {
    "r": 25,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 125.31,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55329,
    "c": 0.1694,
    "h": 143.8
  },
  "luminance": 0.18505
}

Semantic roles & 50–950 ramp

primary
#198A23
secondary
#BD42B2
accent
#3CDDEC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198A23

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

Preview Lab → · Contrast checker → · Palette generator →

#198A23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva