#198334#198334

#198334 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.148 H 147.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#198334
RGBrgb(25, 131, 52)
HSLhsl(135, 68%, 31%)
HSVhsv(135, 81%, 51%)
CMYKcmyk(80.9%, 0%, 60.3%, 48.6%)
CIE-LABlab(47.86, -46.23, 34.05)
CIE-LCHlch(47.86, 57.41, 143.62°)
OKLaboklab(53.52% -0.1243 0.0807)
OKLCHoklch(53.52% 0.148 147)
XYZxyz(9.1363, 16.6861, 5.9874)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198334 #831968
analogous
#338319 #198334 #198369
triadic
#198334 #341983 #833419
tetradic
#198334 #193383 #831968 #836919
square
#198334 #193383 #831968 #836919
split-complementary
#198334 #691983 #831933
monochromatic
#051C0B #0F5020 #198334 #23B648 #3DDA65

Accessibility & contrast

On white

4.84
#198334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#198334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198334
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198334#FFFFFF#000000##FFFFFF
##1983341.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772C
Deuteranopia (green-blind)
#796E3A
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #198334;
/* rgb */ color: rgb(25, 131, 52);
/* oklch */ color: oklch(53.5% 0.148 147.0);
Tailwind
colors: {
  custom: {
    50: '#6aa86e',
    500: '#198334',
    950: '#000000',
  },
}
SCSS
$custom: #198334;
$custom-light: #6aa86e;
$custom-dark: #000000;
JSON
{
  "hex": "#198334",
  "rgb": {
    "r": 25,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 135.283,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.1482,
    "h": 147
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#198334
secondary
#B74199
accent
#3DBFEB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #198334

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

Preview Lab → · Contrast checker → · Palette generator →

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