#198310#198310

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

Color values

HEX#198310
RGBrgb(25, 131, 16)
HSLhsl(115, 78%, 29%)
HSVhsv(115, 88%, 51%)
CMYKcmyk(80.9%, 0%, 87.8%, 48.6%)
CIE-LABlab(47.59, -49.55, 47.82)
CIE-LCHlch(47.59, 68.86, 136.02°)
OKLaboklab(53.21% -0.1348 0.1052)
OKLCHoklch(53.21% 0.171 142)
XYZxyz(8.6102, 16.4757, 3.2164)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198310 #7A1083
analogous
#538310 #198310 #108341
triadic
#198310 #101983 #831019
tetradic
#198310 #105383 #7A1083 #834110
square
#198310 #105383 #7A1083 #834110
split-complementary
#198310 #411083 #831053
monochromatic
#051B03 #0F4C09 #198310 #23BA17 #37E529

Accessibility & contrast

On white

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

On black

4.30
#198310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##198310#FFFFFF#000000##FFFFFF
##1983101.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #198310;
/* rgb */ color: rgb(25, 131, 16);
/* oklch */ color: oklch(53.2% 0.171 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ba85b',
    500: '#198310',
    950: '#000000',
  },
}
SCSS
$custom: #198310;
$custom-light: #6ba85b;
$custom-dark: #000000;
JSON
{
  "hex": "#198310",
  "rgb": {
    "r": 25,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 115.304,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.17102,
    "h": 142
  },
  "luminance": 0.16477
}

Semantic roles & 50–950 ramp

primary
#198310
secondary
#AF36B9
accent
#33F5E6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#081004
muted
#7B7F79

Preview Lab

Preview with #198310

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

Preview Lab → · Contrast checker → · Palette generator →

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