#18B41B#18B41B

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

Color values

HEX#18B41B
RGBrgb(24, 180, 27)
HSLhsl(121, 76%, 40%)
HSVhsv(121, 87%, 71%)
CMYKcmyk(86.7%, 0%, 85%, 29.4%)
CIE-LABlab(64.09, -64.09, 59.93)
CIE-LCHlch(64.09, 87.74, 136.92°)
OKLaboklab(66.96% -0.1738 0.1321)
OKLCHoklch(66.96% 0.218 142.8)
XYZxyz(16.8947, 32.9137, 6.4993)
Luminance0.3292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B41B #B418B1
analogous
#63B418 #18B41B #18B469
triadic
#18B41B #1B18B4 #B41B18
tetradic
#18B41B #1863B4 #B418B1 #B46918
square
#18B41B #1863B4 #B418B1 #B46918
split-complementary
#18B41B #6918B4 #B41863
monochromatic
#0A480B #117E13 #18B41B #27E22B #5DE960

Accessibility & contrast

On white

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

On black

7.58
#18B41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #18B41B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18B41B#FFFFFF#000000##000000
##18B41B1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18b41b;
/* rgb */ color: rgb(24, 180, 27);
/* oklch */ color: oklch(67.0% 0.218 142.8);
Tailwind
colors: {
  custom: {
    50: '#78cc67',
    500: '#18b41b',
    950: '#000000',
  },
}
SCSS
$custom: #18b41b;
$custom-light: #78cc67;
$custom-dark: #000000;
JSON
{
  "hex": "#18b41b",
  "rgb": {
    "r": 24,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 121.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.66962,
    "c": 0.21831,
    "h": 142.8
  },
  "luminance": 0.32916
}

Semantic roles & 50–950 ramp

primary
#18B41B
secondary
#CD5BCB
accent
#35EFF3
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #18B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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