#198015#198015

#198015 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.166 H 142.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#198015
RGBrgb(25, 128, 21)
HSLhsl(118, 72%, 29%)
HSVhsv(118, 84%, 50%)
CMYKcmyk(80.5%, 0%, 83.6%, 49.8%)
CIE-LABlab(46.58, -48.30, 45.51)
CIE-LCHlch(46.58, 66.36, 136.71°)
OKLaboklab(52.37% -0.1313 0.1011)
OKLCHoklch(52.37% 0.166 142.4)
XYZxyz(8.2549, 15.6982, 3.3043)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198015 #7C1580
analogous
#4F8015 #198015 #158047
triadic
#198015 #151980 #801519
tetradic
#198015 #154F80 #7C1580 #804715
square
#198015 #154F80 #7C1580 #804715
split-complementary
#198015 #471580 #80154F
monochromatic
#051A04 #0F4B0C #198015 #23B51E #38DD32

Accessibility & contrast

On white

5.07
#198015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#198015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198015
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198015#FFFFFF#000000##FFFFFF
##1980151.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #198015;
/* rgb */ color: rgb(25, 128, 21);
/* oklch */ color: oklch(52.4% 0.166 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa65d',
    500: '#198015',
    950: '#000000',
  },
}
SCSS
$custom: #198015;
$custom-light: #6aa65d;
$custom-dark: #000000;
JSON
{
  "hex": "#198015",
  "rgb": {
    "r": 25,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 117.757,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52369,
    "c": 0.16566,
    "h": 142.4
  },
  "luminance": 0.15699
}

Semantic roles & 50–950 ramp

primary
#198015
secondary
#B03CB5
accent
#39EFE8
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #198015

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

Preview Lab → · Contrast checker → · Palette generator →

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