#18942B#18942B

#18942B is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.2% C 0.176 H 144.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#18942B
RGBrgb(24, 148, 43)
HSLhsl(129, 72%, 34%)
HSVhsv(129, 84%, 58%)
CMYKcmyk(83.8%, 0%, 70.9%, 42%)
CIE-LABlab(53.54, -53.16, 44.46)
CIE-LCHlch(53.54, 69.30, 140.09°)
OKLaboklab(58.21% -0.1435 0.1019)
OKLCHoklch(58.21% 0.176 144.6)
XYZxyz(11.4018, 21.5470, 5.8431)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18942B #941881
analogous
#439418 #18942B #189469
triadic
#18942B #2B1894 #942B18
tetradic
#18942B #184394 #941881 #946918
square
#18942B #184394 #941881 #946918
split-complementary
#18942B #691894 #941843
monochromatic
#072B0C #0F5F1C #18942B #21C93A #45E15D

Accessibility & contrast

On white

3.96
#18942B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#18942B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18942B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18942B#FFFFFF#000000##000000
##18942B1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97851B
Deuteranopia (green-blind)
#8A7C35
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #18942b;
/* rgb */ color: rgb(24, 148, 43);
/* oklch */ color: oklch(58.2% 0.176 144.6);
Tailwind
colors: {
  custom: {
    50: '#6eb56a',
    500: '#18942b',
    950: '#000000',
  },
}
SCSS
$custom: #18942b;
$custom-light: #6eb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#18942b",
  "rgb": {
    "r": 24,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 129.194,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.17597,
    "h": 144.6
  },
  "luminance": 0.21548
}

Semantic roles & 50–950 ramp

primary
#18942B
secondary
#C246AF
accent
#39D3EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #18942B

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

Preview Lab → · Contrast checker → · Palette generator →

#18942B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva