#198E23#198E23

#198E23 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.174 H 143.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#198E23
RGBrgb(25, 142, 35)
HSLhsl(125, 70%, 33%)
HSVhsv(125, 82%, 56%)
CMYKcmyk(82.4%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.47, -51.83, 45.47)
CIE-LCHlch(51.47, 68.95, 138.74°)
OKLaboklab(56.46% -0.1402 0.103)
OKLCHoklch(56.46% 0.174 143.7)
XYZxyz(10.3766, 19.6728, 4.8401)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198E23 #8E1984
analogous
#4A8E19 #198E23 #198E5D
triadic
#198E23 #23198E #8E2319
tetradic
#198E23 #194A8E #8E1984 #8E5D19
square
#198E23 #194A8E #8E1984 #8E5D19
split-complementary
#198E23 #5D198E #8E194A
monochromatic
#072609 #105A16 #198E23 #22C230 #43DE51

Accessibility & contrast

On white

4.26
#198E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#198E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198E23
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198E23#FFFFFF#000000##000000
##198E231.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198e23;
/* rgb */ color: rgb(25, 142, 35);
/* oklch */ color: oklch(56.5% 0.174 143.7);
Tailwind
colors: {
  custom: {
    50: '#6db065',
    500: '#198e23',
    950: '#000000',
  },
}
SCSS
$custom: #198e23;
$custom-light: #6db065;
$custom-dark: #000000;
JSON
{
  "hex": "#198e23",
  "rgb": {
    "r": 25,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 125.128,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.17397,
    "h": 143.7
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #198E23

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

Preview Lab → · Contrast checker → · Palette generator →

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