#198338#198338

#198338 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.145 H 148.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#198338
RGBrgb(25, 131, 56)
HSLhsl(138, 68%, 31%)
HSVhsv(138, 81%, 51%)
CMYKcmyk(80.9%, 0%, 57.3%, 48.6%)
CIE-LABlab(47.91, -45.65, 32.10)
CIE-LCHlch(47.91, 55.80, 144.89°)
OKLaboklab(53.57% -0.1227 0.0767)
OKLCHoklch(53.57% 0.145 148)
XYZxyz(9.2303, 16.7237, 6.4821)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198338 #831964
analogous
#2F8319 #198338 #19836D
triadic
#198338 #381983 #833819
tetradic
#198338 #192F83 #831964 #836D19
square
#198338 #192F83 #831964 #836D19
split-complementary
#198338 #6D1983 #83192F
monochromatic
#051C0C #0F5022 #198338 #23B64E #3DDA6B

Accessibility & contrast

On white

4.83
#198338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#198338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198338
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198338#FFFFFF#000000##FFFFFF
##1983381.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847731
Deuteranopia (green-blind)
#796E3E
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #198338;
/* rgb */ color: rgb(25, 131, 56);
/* oklch */ color: oklch(53.6% 0.145 148.0);
Tailwind
colors: {
  custom: {
    50: '#69a871',
    500: '#198338',
    950: '#000000',
  },
}
SCSS
$custom: #198338;
$custom-light: #69a871;
$custom-dark: #000000;
JSON
{
  "hex": "#198338",
  "rgb": {
    "r": 25,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 137.547,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53574,
    "c": 0.14468,
    "h": 148
  },
  "luminance": 0.16725
}

Semantic roles & 50–950 ramp

primary
#198338
secondary
#B74194
accent
#3DB8EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #198338

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

Preview Lab → · Contrast checker → · Palette generator →

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