#18902B#18902B

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

Color values

HEX#18902B
RGBrgb(24, 144, 43)
HSLhsl(130, 71%, 33%)
HSVhsv(130, 83%, 56%)
CMYKcmyk(83.3%, 0%, 70.1%, 43.5%)
CIE-LABlab(52.19, -51.86, 43.03)
CIE-LCHlch(52.19, 67.38, 140.32°)
OKLaboklab(57.08% -0.1399 0.0989)
OKLCHoklch(57.08% 0.171 144.8)
XYZxyz(10.7852, 20.3138, 5.6376)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18902B #90187D
analogous
#419018 #18902B #189067
triadic
#18902B #2B1890 #902B18
tetradic
#18902B #184190 #90187D #906718
square
#18902B #184190 #90187D #906718
split-complementary
#18902B #671890 #901841
monochromatic
#07270C #0F5C1B #18902B #21C43B #43E05C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#18902B
secondary
#C043AD
accent
#3AD2EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #18902B

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

Preview Lab → · Contrast checker → · Palette generator →

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