#198123#198123

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

Color values

HEX#198123
RGBrgb(25, 129, 35)
HSLhsl(126, 68%, 30%)
HSVhsv(126, 81%, 51%)
CMYKcmyk(80.6%, 0%, 72.9%, 49.4%)
CIE-LABlab(47.01, -47.53, 40.89)
CIE-LCHlch(47.01, 62.70, 139.30°)
OKLaboklab(52.76% -0.1285 0.0934)
OKLCHoklch(52.76% 0.159 144)
XYZxyz(8.5540, 16.0275, 4.2326)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198123 #811977
analogous
#438119 #198123 #198157
triadic
#198123 #231981 #812319
tetradic
#198123 #194381 #811977 #815719
square
#198123 #194381 #811977 #815719
split-complementary
#198123 #571981 #811943
monochromatic
#051A07 #0F4E15 #198123 #23B431 #3BD94A

Accessibility & contrast

On white

4.99
#198123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#198123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198123
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198123#FFFFFF#000000##FFFFFF
##1981231.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847414
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #198123;
/* rgb */ color: rgb(25, 129, 35);
/* oklch */ color: oklch(52.8% 0.159 144.0);
Tailwind
colors: {
  custom: {
    50: '#6aa764',
    500: '#198123',
    950: '#000000',
  },
}
SCSS
$custom: #198123;
$custom-light: #6aa764;
$custom-dark: #000000;
JSON
{
  "hex": "#198123",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 125.769,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52759,
    "c": 0.15888,
    "h": 144
  },
  "luminance": 0.16029
}

Semantic roles & 50–950 ramp

primary
#198123
secondary
#B541AA
accent
#3DDAEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #198123

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

Preview Lab → · Contrast checker → · Palette generator →

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