#18902A#18902A

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

Color values

HEX#18902A
RGBrgb(24, 144, 42)
HSLhsl(129, 71%, 33%)
HSVhsv(129, 83%, 56%)
CMYKcmyk(83.3%, 0%, 70.8%, 43.5%)
CIE-LABlab(52.18, -51.96, 43.44)
CIE-LCHlch(52.18, 67.72, 140.11°)
OKLaboklab(57.07% -0.1402 0.0996)
OKLCHoklch(57.07% 0.172 144.6)
XYZxyz(10.7671, 20.3066, 5.5421)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18902A #90187E
analogous
#429018 #18902A #189066
triadic
#18902A #2A1890 #902A18
tetradic
#18902A #184290 #90187E #906618
square
#18902A #184290 #90187E #906618
split-complementary
#18902A #661890 #901842
monochromatic
#07270B #0F5C1B #18902A #21C439 #43E05A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18902A#FFFFFF#000000##000000
##18902A1.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)
#93821B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #18902a;
/* rgb */ color: rgb(24, 144, 42);
/* oklch */ color: oklch(57.1% 0.172 144.6);
Tailwind
colors: {
  custom: {
    50: '#6db269',
    500: '#18902a',
    950: '#000000',
  },
}
SCSS
$custom: #18902a;
$custom-light: #6db269;
$custom-dark: #000000;
JSON
{
  "hex": "#18902a",
  "rgb": {
    "r": 24,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 129,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.17201,
    "h": 144.6
  },
  "luminance": 0.20308
}

Semantic roles & 50–950 ramp

primary
#18902A
secondary
#C043AE
accent
#3AD3EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #18902A

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

Preview Lab → · Contrast checker → · Palette generator →

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