#198321#198321

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

Color values

HEX#198321
RGBrgb(25, 131, 33)
HSLhsl(125, 68%, 31%)
HSVhsv(125, 81%, 51%)
CMYKcmyk(80.9%, 0%, 74.8%, 48.6%)
CIE-LABlab(47.69, -48.39, 42.39)
CIE-LCHlch(47.69, 64.33, 138.78°)
OKLaboklab(53.32% -0.131 0.0963)
OKLCHoklch(53.32% 0.163 143.7)
XYZxyz(8.7911, 16.5480, 4.1693)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198321 #83197B
analogous
#468319 #198321 #198356
triadic
#198321 #211983 #832119
tetradic
#198321 #194683 #83197B #835619
square
#198321 #194683 #83197B #835619
split-complementary
#198321 #561983 #831946
monochromatic
#051C07 #0F5014 #198321 #23B62E #3DDA48

Accessibility & contrast

On white

4.87
#198321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#198321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198321
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198321#FFFFFF#000000##FFFFFF
##1983211.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867610
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #198321;
/* rgb */ color: rgb(25, 131, 33);
/* oklch */ color: oklch(53.3% 0.163 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ba863',
    500: '#198321',
    950: '#000000',
  },
}
SCSS
$custom: #198321;
$custom-light: #6ba863;
$custom-dark: #000000;
JSON
{
  "hex": "#198321",
  "rgb": {
    "r": 25,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 124.528,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53315,
    "c": 0.16253,
    "h": 143.7
  },
  "luminance": 0.16549
}

Semantic roles & 50–950 ramp

primary
#198321
secondary
#B741AE
accent
#3DDEEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #198321

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

Preview Lab → · Contrast checker → · Palette generator →

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