#18B31F#18B31F

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

Color values

HEX#18B31F
RGBrgb(24, 179, 31)
HSLhsl(123, 76%, 40%)
HSVhsv(123, 87%, 70%)
CMYKcmyk(86.6%, 0%, 82.7%, 29.8%)
CIE-LABlab(63.78, -63.59, 58.62)
CIE-LCHlch(63.78, 86.49, 137.33°)
OKLaboklab(66.71% -0.1723 0.1299)
OKLCHoklch(66.71% 0.216 143)
XYZxyz(16.7430, 32.5312, 6.6928)
Luminance0.3253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B31F #B318AC
analogous
#5EB318 #18B31F #18B36D
triadic
#18B31F #1F18B3 #B31F18
tetradic
#18B31F #185EB3 #B318AC #B36D18
square
#18B31F #185EB3 #B318AC #B36D18
split-complementary
#18B31F #6D18B3 #B3185E
monochromatic
#0A470C #117D16 #18B31F #26E22F #5CE963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18B31F#FFFFFF#000000##000000
##18B31F1.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)
#A79633
Tritanopia (blue-blind)
#00AE98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #18b31f;
/* rgb */ color: rgb(24, 179, 31);
/* oklch */ color: oklch(66.7% 0.216 143.0);
Tailwind
colors: {
  custom: {
    50: '#77cb69',
    500: '#18b31f',
    950: '#000000',
  },
}
SCSS
$custom: #18b31f;
$custom-light: #77cb69;
$custom-dark: #000000;
JSON
{
  "hex": "#18b31f",
  "rgb": {
    "r": 24,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 122.71,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66707,
    "c": 0.21579,
    "h": 143
  },
  "luminance": 0.32533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18B31F

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

Preview Lab → · Contrast checker → · Palette generator →

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