#198229#198229

#198229 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.156 H 144.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#198229
RGBrgb(25, 130, 41)
HSLhsl(129, 68%, 30%)
HSVhsv(129, 81%, 51%)
CMYKcmyk(80.8%, 0%, 68.5%, 49%)
CIE-LABlab(47.41, -47.25, 38.73)
CIE-LCHlch(47.41, 61.10, 140.66°)
OKLaboklab(53.1% -0.1275 0.0896)
OKLCHoklch(53.1% 0.156 144.9)
XYZxyz(8.7832, 16.3310, 4.7867)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198229 #821972
analogous
#3D8219 #198229 #19825D
triadic
#198229 #291982 #822919
tetradic
#198229 #193D82 #821972 #825D19
square
#198229 #193D82 #821972 #825D19
split-complementary
#198229 #5D1982 #82193D
monochromatic
#051B09 #0F4F19 #198229 #23B539 #3CD954

Accessibility & contrast

On white

4.92
#198229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#198229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198229
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198229#FFFFFF#000000##FFFFFF
##1982291.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751D
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #198229;
/* rgb */ color: rgb(25, 130, 41);
/* oklch */ color: oklch(53.1% 0.156 144.9);
Tailwind
colors: {
  custom: {
    50: '#6aa767',
    500: '#198229',
    950: '#000000',
  },
}
SCSS
$custom: #198229;
$custom-light: #6aa767;
$custom-dark: #000000;
JSON
{
  "hex": "#198229",
  "rgb": {
    "r": 25,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 129.143,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53103,
    "c": 0.15584,
    "h": 144.9
  },
  "luminance": 0.16332
}

Semantic roles & 50–950 ramp

primary
#198229
secondary
#B641A4
accent
#3DD0EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #198229

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

Preview Lab → · Contrast checker → · Palette generator →

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