#18902C#18902C

#18902C is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.171 H 144.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#18902C
RGBrgb(24, 144, 44)
HSLhsl(130, 71%, 33%)
HSVhsv(130, 83%, 56%)
CMYKcmyk(83.3%, 0%, 69.4%, 43.5%)
CIE-LABlab(52.20, -51.75, 42.61)
CIE-LCHlch(52.20, 67.04, 140.53°)
OKLaboklab(57.09% -0.1396 0.0981)
OKLCHoklch(57.09% 0.171 144.9)
XYZxyz(10.8038, 20.3212, 5.7354)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18902C #90187C
analogous
#409018 #18902C #189068
triadic
#18902C #2C1890 #902C18
tetradic
#18902C #184090 #90187C #906818
square
#18902C #184090 #90187C #906818
split-complementary
#18902C #681890 #901840
monochromatic
#07270C #0F5C1C #18902C #21C43C #43E05D

Accessibility & contrast

On white

4.15
#18902C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#18902C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18902C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18902C#FFFFFF#000000##000000
##18902C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821E
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #18902c;
/* rgb */ color: rgb(24, 144, 44);
/* oklch */ color: oklch(57.1% 0.171 144.9);
Tailwind
colors: {
  custom: {
    50: '#6db26a',
    500: '#18902c',
    950: '#000000',
  },
}
SCSS
$custom: #18902c;
$custom-light: #6db26a;
$custom-dark: #000000;
JSON
{
  "hex": "#18902c",
  "rgb": {
    "r": 24,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 130,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.17063,
    "h": 144.9
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#18902C
secondary
#C043AC
accent
#3AD0EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #18902C

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

Preview Lab → · Contrast checker → · Palette generator →

#18902C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva