#198223#198223

#198223 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.0% C 0.160 H 144.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#198223
RGBrgb(25, 130, 35)
HSLhsl(126, 68%, 30%)
HSVhsv(126, 81%, 51%)
CMYKcmyk(80.8%, 0%, 73.1%, 49%)
CIE-LABlab(47.36, -47.87, 41.25)
CIE-LCHlch(47.36, 63.19, 139.25°)
OKLaboklab(53.05% -0.1295 0.0941)
OKLCHoklch(53.05% 0.16 144)
XYZxyz(8.6863, 16.2922, 4.2767)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198223 #821978
analogous
#448219 #198223 #198257
triadic
#198223 #231982 #822319
tetradic
#198223 #194482 #821978 #825719
square
#198223 #194482 #821978 #825719
split-complementary
#198223 #571982 #821944
monochromatic
#051B07 #0F4F15 #198223 #23B531 #3CD94B

Accessibility & contrast

On white

4.93
#198223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#198223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198223
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198223#FFFFFF#000000##FFFFFF
##1982231.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857514
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #198223;
/* rgb */ color: rgb(25, 130, 35);
/* oklch */ color: oklch(53.0% 0.160 144.0);
Tailwind
colors: {
  custom: {
    50: '#6aa764',
    500: '#198223',
    950: '#000000',
  },
}
SCSS
$custom: #198223;
$custom-light: #6aa764;
$custom-dark: #000000;
JSON
{
  "hex": "#198223",
  "rgb": {
    "r": 25,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 125.714,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53046,
    "c": 0.16007,
    "h": 144
  },
  "luminance": 0.16293
}

Semantic roles & 50–950 ramp

primary
#198223
secondary
#B641AB
accent
#3DDAEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #198223

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

Preview Lab → · Contrast checker → · Palette generator →

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