#198F23#198F23

#198F23 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.175 H 143.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#198F23
RGBrgb(25, 143, 35)
HSLhsl(125, 70%, 33%)
HSVhsv(125, 83%, 56%)
CMYKcmyk(82.5%, 0%, 75.5%, 43.9%)
CIE-LABlab(51.81, -52.15, 45.82)
CIE-LCHlch(51.81, 69.42, 138.70°)
OKLaboklab(56.75% -0.1411 0.1037)
OKLCHoklch(56.75% 0.175 143.7)
XYZxyz(10.5260, 19.9717, 4.8899)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F23 #8F1985
analogous
#4A8F19 #198F23 #198F5E
triadic
#198F23 #23198F #8F2319
tetradic
#198F23 #194A8F #8F1985 #8F5E19
square
#198F23 #194A8F #8F1985 #8F5E19
split-complementary
#198F23 #5E198F #8F194A
monochromatic
#072709 #105B16 #198F23 #22C330 #44DE51

Accessibility & contrast

On white

4.20
#198F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#198F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F23
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F23#FFFFFF#000000##000000
##198F231.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198f23;
/* rgb */ color: rgb(25, 143, 35);
/* oklch */ color: oklch(56.7% 0.175 143.7);
Tailwind
colors: {
  custom: {
    50: '#6eb165',
    500: '#198f23',
    950: '#000000',
  },
}
SCSS
$custom: #198f23;
$custom-light: #6eb165;
$custom-dark: #000000;
JSON
{
  "hex": "#198f23",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 125.085,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.1751,
    "h": 143.7
  },
  "luminance": 0.19973
}

Semantic roles & 50–950 ramp

primary
#198F23
secondary
#BF44B5
accent
#3BDEED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #198F23

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

Preview Lab → · Contrast checker → · Palette generator →

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