#18801F#18801F

#18801F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.161 H 143.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#18801F
RGBrgb(24, 128, 31)
HSLhsl(124, 68%, 30%)
HSVhsv(124, 81%, 50%)
CMYKcmyk(81.3%, 0%, 75.8%, 49.8%)
CIE-LABlab(46.62, -47.70, 42.08)
CIE-LCHlch(46.62, 63.61, 138.58°)
OKLaboklab(52.42% -0.1291 0.0953)
OKLCHoklch(52.42% 0.161 143.6)
XYZxyz(8.3426, 15.7305, 3.8927)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18801F #801879
analogous
#458018 #18801F #188053
triadic
#18801F #1F1880 #801F18
tetradic
#18801F #184580 #801879 #805318
square
#18801F #184580 #801879 #805318
split-complementary
#18801F #531880 #801845
monochromatic
#051A06 #0E4C13 #18801F #22B42B #39DA43

Accessibility & contrast

On white

5.06
#18801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#18801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18801F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18801F#FFFFFF#000000##FFFFFF
##18801F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730D
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #18801f;
/* rgb */ color: rgb(24, 128, 31);
/* oklch */ color: oklch(52.4% 0.161 143.6);
Tailwind
colors: {
  custom: {
    50: '#6aa661',
    500: '#18801f',
    950: '#000000',
  },
}
SCSS
$custom: #18801f;
$custom-light: #6aa661;
$custom-dark: #000000;
JSON
{
  "hex": "#18801f",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 124.038,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.16053,
    "h": 143.6
  },
  "luminance": 0.15731
}

Semantic roles & 50–950 ramp

primary
#18801F
secondary
#B440AC
accent
#3DE0EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #18801F

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

Preview Lab → · Contrast checker → · Palette generator →

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