#18B41F#18B41F

#18B41F is a light, highly saturated green. Relative luminance 0.329; OKLCH L 67.0% C 0.217 H 143.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#18B41F
RGBrgb(24, 180, 31)
HSLhsl(123, 76%, 40%)
HSVhsv(123, 87%, 71%)
CMYKcmyk(86.7%, 0%, 82.8%, 29.4%)
CIE-LABlab(64.11, -63.89, 58.92)
CIE-LCHlch(64.11, 86.91, 137.31°)
OKLaboklab(66.98% -0.1731 0.1305)
OKLCHoklch(66.98% 0.217 143)
XYZxyz(16.9441, 32.9335, 6.7598)
Luminance0.3294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B41F #B418AD
analogous
#5FB418 #18B41F #18B46D
triadic
#18B41F #1F18B4 #B41F18
tetradic
#18B41F #185FB4 #B418AD #B46D18
square
#18B41F #185FB4 #B418AD #B46D18
split-complementary
#18B41F #6D18B4 #B4185F
monochromatic
#0A480C #117E16 #18B41F #27E22F #5DE963

Accessibility & contrast

On white

2.77
#18B41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#18B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #18B41F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18B41F#FFFFFF#000000##000000
##18B41F1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#00AF99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #18b41f;
/* rgb */ color: rgb(24, 180, 31);
/* oklch */ color: oklch(67.0% 0.217 143.0);
Tailwind
colors: {
  custom: {
    50: '#77cc69',
    500: '#18b41f',
    950: '#000000',
  },
}
SCSS
$custom: #18b41f;
$custom-light: #77cc69;
$custom-dark: #000000;
JSON
{
  "hex": "#18b41f",
  "rgb": {
    "r": 24,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 122.692,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.6698,
    "c": 0.21681,
    "h": 143
  },
  "luminance": 0.32936
}

Semantic roles & 50–950 ramp

primary
#18B41F
secondary
#CD5BC8
accent
#35EAF3
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #18B41F

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

Preview Lab → · Contrast checker → · Palette generator →

#18B41F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva