#18902F#18902F

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

Color values

HEX#18902F
RGBrgb(24, 144, 47)
HSLhsl(132, 71%, 33%)
HSVhsv(132, 83%, 56%)
CMYKcmyk(83.3%, 0%, 67.4%, 43.5%)
CIE-LABlab(52.22, -51.43, 41.34)
CIE-LCHlch(52.22, 65.99, 141.21°)
OKLaboklab(57.12% -0.1386 0.0958)
OKLCHoklch(57.12% 0.168 145.4)
XYZxyz(10.8622, 20.3446, 6.0432)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18902F #901879
analogous
#3D9018 #18902F #18906B
triadic
#18902F #2F1890 #902F18
tetradic
#18902F #183D90 #901879 #906B18
square
#18902F #183D90 #901879 #906B18
split-complementary
#18902F #6B1890 #90183D
monochromatic
#07270D #0F5C1E #18902F #21C440 #43E061

Accessibility & contrast

On white

4.14
#18902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#18902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18902F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18902F#FFFFFF#000000##000000
##18902F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #18902f;
/* rgb */ color: rgb(24, 144, 47);
/* oklch */ color: oklch(57.1% 0.168 145.4);
Tailwind
colors: {
  custom: {
    50: '#6db26c',
    500: '#18902f',
    950: '#000000',
  },
}
SCSS
$custom: #18902f;
$custom-light: #6db26c;
$custom-dark: #000000;
JSON
{
  "hex": "#18902f",
  "rgb": {
    "r": 24,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 131.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.16846,
    "h": 145.4
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#18902F
secondary
#C043A8
accent
#3ACCEE
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #18902F

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

Preview Lab → · Contrast checker → · Palette generator →

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