#198238#198238

#198238 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.143 H 148.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#198238
RGBrgb(25, 130, 56)
HSLhsl(138, 68%, 30%)
HSVhsv(138, 81%, 51%)
CMYKcmyk(80.8%, 0%, 56.9%, 49%)
CIE-LABlab(47.57, -45.29, 31.68)
CIE-LCHlch(47.57, 55.27, 145.02°)
OKLaboklab(53.29% -0.1217 0.0758)
OKLCHoklch(53.29% 0.143 148.1)
XYZxyz(9.0966, 16.4564, 6.4376)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198238 #821963
analogous
#2F8219 #198238 #19826C
triadic
#198238 #381982 #823819
tetradic
#198238 #192F82 #821963 #826C19
square
#198238 #192F82 #821963 #826C19
split-complementary
#198238 #6C1982 #82192F
monochromatic
#051B0C #0F4F22 #198238 #23B54E #3CD96A

Accessibility & contrast

On white

4.89
#198238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#198238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198238
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198238#FFFFFF#000000##FFFFFF
##1982381.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837631
Deuteranopia (green-blind)
#786E3E
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #198238;
/* rgb */ color: rgb(25, 130, 56);
/* oklch */ color: oklch(53.3% 0.143 148.1);
Tailwind
colors: {
  custom: {
    50: '#69a771',
    500: '#198238',
    950: '#000000',
  },
}
SCSS
$custom: #198238;
$custom-light: #69a771;
$custom-dark: #000000;
JSON
{
  "hex": "#198238",
  "rgb": {
    "r": 25,
    "g": 130,
    "b": 56
  },
  "hsl": {
    "h": 137.714,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5329,
    "c": 0.14337,
    "h": 148.1
  },
  "luminance": 0.16457
}

Semantic roles & 50–950 ramp

primary
#198238
secondary
#B64193
accent
#3DB7EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #198238

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

Preview Lab → · Contrast checker → · Palette generator →

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