#18B31E#18B31E

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

Color values

HEX#18B31E
RGBrgb(24, 179, 30)
HSLhsl(122, 76%, 40%)
HSVhsv(122, 87%, 70%)
CMYKcmyk(86.6%, 0%, 83.2%, 29.8%)
CIE-LABlab(63.78, -63.65, 58.88)
CIE-LCHlch(63.78, 86.71, 137.23°)
OKLaboklab(66.7% -0.1725 0.1303)
OKLCHoklch(66.7% 0.216 142.9)
XYZxyz(16.7300, 32.5260, 6.6244)
Luminance0.3253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B31E #B318AD
analogous
#5FB318 #18B31E #18B36C
triadic
#18B31E #1E18B3 #B31E18
tetradic
#18B31E #185FB3 #B318AD #B36C18
square
#18B31E #185FB3 #B318AD #B36C18
split-complementary
#18B31E #6C18B3 #B3185F
monochromatic
#0A470C #117D15 #18B31E #26E22E #5CE962

Accessibility & contrast

On white

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

On black

7.51
#18B31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #18B31E
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18B31E#FFFFFF#000000##000000
##18B31E1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18b31e;
/* rgb */ color: rgb(24, 179, 30);
/* oklch */ color: oklch(66.7% 0.216 142.9);
Tailwind
colors: {
  custom: {
    50: '#77cb68',
    500: '#18b31e',
    950: '#000000',
  },
}
SCSS
$custom: #18b31e;
$custom-light: #77cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#18b31e",
  "rgb": {
    "r": 24,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 122.323,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66703,
    "c": 0.21618,
    "h": 142.9
  },
  "luminance": 0.32528
}

Semantic roles & 50–950 ramp

primary
#18B31E
secondary
#CD5AC8
accent
#35ECF3
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #18B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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