#18B31B#18B31B

#18B31B is a light, highly saturated green. Relative luminance 0.325; OKLCH L 66.7% C 0.217 H 142.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#18B31B
RGBrgb(24, 179, 27)
HSLhsl(121, 76%, 40%)
HSVhsv(121, 87%, 70%)
CMYKcmyk(86.6%, 0%, 84.9%, 29.8%)
CIE-LABlab(63.76, -63.80, 59.63)
CIE-LCHlch(63.76, 87.33, 136.93°)
OKLaboklab(66.69% -0.173 0.1314)
OKLCHoklch(66.69% 0.217 142.8)
XYZxyz(16.6935, 32.5114, 6.4322)
Luminance0.3251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B31B #B318B0
analogous
#63B318 #18B31B #18B368
triadic
#18B31B #1B18B3 #B31B18
tetradic
#18B31B #1863B3 #B318B0 #B36818
square
#18B31B #1863B3 #B318B0 #B36818
split-complementary
#18B31B #6818B3 #B31863
monochromatic
#0A470B #117D13 #18B31B #26E22A #5CE95F

Accessibility & contrast

On white

2.80
#18B31B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#18B31B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #18B31B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18B31B#FFFFFF#000000##000000
##18B31B1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #18b31b;
/* rgb */ color: rgb(24, 179, 27);
/* oklch */ color: oklch(66.7% 0.217 142.8);
Tailwind
colors: {
  custom: {
    50: '#77cb67',
    500: '#18b31b',
    950: '#000000',
  },
}
SCSS
$custom: #18b31b;
$custom-light: #77cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#18b31b",
  "rgb": {
    "r": 24,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 121.161,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66689,
    "c": 0.21731,
    "h": 142.8
  },
  "luminance": 0.32514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18B31B

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

Preview Lab → · Contrast checker → · Palette generator →

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