#198121#198121

#198121 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.160 H 143.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#198121
RGBrgb(25, 129, 33)
HSLhsl(125, 68%, 30%)
HSVhsv(125, 81%, 51%)
CMYKcmyk(80.6%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.00, -47.72, 41.68)
CIE-LCHlch(47.00, 63.36, 138.86°)
OKLaboklab(52.74% -0.1291 0.0948)
OKLCHoklch(52.74% 0.16 143.7)
XYZxyz(8.5251, 16.0160, 4.0806)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198121 #811979
analogous
#458119 #198121 #198155
triadic
#198121 #211981 #812119
tetradic
#198121 #194581 #811979 #815519
square
#198121 #194581 #811979 #815519
split-complementary
#198121 #551981 #811945
monochromatic
#051A07 #0F4E14 #198121 #23B42E #3BD947

Accessibility & contrast

On white

5.00
#198121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#198121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198121
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198121#FFFFFF#000000##FFFFFF
##1981211.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #198121;
/* rgb */ color: rgb(25, 129, 33);
/* oklch */ color: oklch(52.7% 0.160 143.7);
Tailwind
colors: {
  custom: {
    50: '#6aa763',
    500: '#198121',
    950: '#000000',
  },
}
SCSS
$custom: #198121;
$custom-light: #6aa763;
$custom-dark: #000000;
JSON
{
  "hex": "#198121",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 124.615,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.16019,
    "h": 143.7
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#198121
secondary
#B541AC
accent
#3DDDEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #198121

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

Preview Lab → · Contrast checker → · Palette generator →

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