#195228#195228

#195228 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.091 H 148.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#195228
RGBrgb(25, 82, 40)
HSLhsl(136, 53%, 21%)
HSVhsv(136, 70%, 32%)
CMYKcmyk(69.5%, 0%, 51.2%, 67.8%)
CIE-LABlab(30.39, -28.96, 19.30)
CIE-LCHlch(30.39, 34.80, 146.32°)
OKLaboklab(39.01% -0.0781 0.0471)
OKLCHoklch(39.01% 0.091 148.9)
XYZxyz(3.8009, 6.3941, 3.0409)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#195228 #521943
analogous
#265219 #195228 #195244
triadic
#195228 #281952 #522819
tetradic
#195228 #192652 #521943 #524419
square
#195228 #192652 #521943 #524419
split-complementary
#195228 #441952 #521926
monochromatic
#07170B #0B2311 #195228 #27813F #36B056

Accessibility & contrast

On white

9.22
#195228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#195228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #195228
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##195228#FFFFFF#000000##FFFFFF
##1952281.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B25
Deuteranopia (green-blind)
#4C462B
Tritanopia (blue-blind)
#065048
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #195228;
/* rgb */ color: rgb(25, 82, 40);
/* oklch */ color: oklch(39.0% 0.091 148.9);
Tailwind
colors: {
  custom: {
    50: '#5d8362',
    500: '#195228',
    950: '#000000',
  },
}
SCSS
$custom: #195228;
$custom-light: #5d8362;
$custom-dark: #000000;
JSON
{
  "hex": "#195228",
  "rgb": {
    "r": 25,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 135.789,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.09126,
    "h": 148.9
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#195228
secondary
#883E75
accent
#4BB6DD
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #195228

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

Preview Lab → · Contrast checker → · Palette generator →

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