#198124#198124

#198124 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.158 H 144.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#198124
RGBrgb(25, 129, 36)
HSLhsl(126, 68%, 30%)
HSVhsv(126, 81%, 51%)
CMYKcmyk(80.6%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.02, -47.43, 40.48)
CIE-LCHlch(47.02, 62.36, 139.52°)
OKLaboklab(52.77% -0.1282 0.0927)
OKLCHoklch(52.77% 0.158 144.1)
XYZxyz(8.5690, 16.0335, 4.3119)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198124 #811976
analogous
#428119 #198124 #198158
triadic
#198124 #241981 #812419
tetradic
#198124 #194281 #811976 #815819
square
#198124 #194281 #811976 #815819
split-complementary
#198124 #581981 #811942
monochromatic
#051A07 #0F4E16 #198124 #23B432 #3BD94C

Accessibility & contrast

On white

4.99
#198124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#198124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198124
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198124#FFFFFF#000000##FFFFFF
##1981241.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847416
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #198124;
/* rgb */ color: rgb(25, 129, 36);
/* oklch */ color: oklch(52.8% 0.158 144.1);
Tailwind
colors: {
  custom: {
    50: '#6aa764',
    500: '#198124',
    950: '#000000',
  },
}
SCSS
$custom: #198124;
$custom-light: #6aa764;
$custom-dark: #000000;
JSON
{
  "hex": "#198124",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 126.346,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.1582,
    "h": 144.1
  },
  "luminance": 0.16035
}

Semantic roles & 50–950 ramp

primary
#198124
secondary
#B541A9
accent
#3DD8EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #198124

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

Preview Lab → · Contrast checker → · Palette generator →

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