#18901F#18901F

#18901F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.179 H 143.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#18901F
RGBrgb(24, 144, 31)
HSLhsl(124, 71%, 33%)
HSVhsv(124, 83%, 56%)
CMYKcmyk(83.3%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.11, -52.91, 47.55)
CIE-LCHlch(52.11, 71.14, 138.06°)
OKLaboklab(56.98% -0.1433 0.1067)
OKLCHoklch(56.98% 0.179 143.3)
XYZxyz(10.5966, 20.2383, 4.6440)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18901F #901889
analogous
#4D9018 #18901F #18905B
triadic
#18901F #1F1890 #901F18
tetradic
#18901F #184D90 #901889 #905B18
square
#18901F #184D90 #901889 #905B18
split-complementary
#18901F #5B1890 #90184D
monochromatic
#072708 #0F5C14 #18901F #21C42A #43E04C

Accessibility & contrast

On white

4.16
#18901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#18901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18901F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18901F#FFFFFF#000000##000000
##18901F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938203
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #18901f;
/* rgb */ color: rgb(24, 144, 31);
/* oklch */ color: oklch(57.0% 0.179 143.3);
Tailwind
colors: {
  custom: {
    50: '#6eb264',
    500: '#18901f',
    950: '#000000',
  },
}
SCSS
$custom: #18901f;
$custom-light: #6eb264;
$custom-dark: #000000;
JSON
{
  "hex": "#18901f",
  "rgb": {
    "r": 24,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 123.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56984,
    "c": 0.1787,
    "h": 143.3
  },
  "luminance": 0.2024
}

Semantic roles & 50–950 ramp

primary
#18901F
secondary
#C043B9
accent
#3AE4EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #18901F

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

Preview Lab → · Contrast checker → · Palette generator →

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