#18B31D#18B31D

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

Color values

HEX#18B31D
RGBrgb(24, 179, 29)
HSLhsl(122, 76%, 40%)
HSVhsv(122, 87%, 70%)
CMYKcmyk(86.6%, 0%, 83.8%, 29.8%)
CIE-LABlab(63.77, -63.70, 59.14)
CIE-LCHlch(63.77, 86.92, 137.13°)
OKLaboklab(66.7% -0.1727 0.1307)
OKLCHoklch(66.7% 0.217 142.9)
XYZxyz(16.7175, 32.5210, 6.5583)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B31D #B318AE
analogous
#61B318 #18B31D #18B36A
triadic
#18B31D #1D18B3 #B31D18
tetradic
#18B31D #1861B3 #B318AE #B36A18
square
#18B31D #1861B3 #B318AE #B36A18
split-complementary
#18B31D #6A18B3 #B31861
monochromatic
#0A470C #117D14 #18B31D #26E22C #5CE961

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #18b31d;
/* rgb */ color: rgb(24, 179, 29);
/* oklch */ color: oklch(66.7% 0.217 142.9);
Tailwind
colors: {
  custom: {
    50: '#77cb68',
    500: '#18b31d',
    950: '#000000',
  },
}
SCSS
$custom: #18b31d;
$custom-light: #77cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#18b31d",
  "rgb": {
    "r": 24,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 121.935,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66698,
    "c": 0.21657,
    "h": 142.9
  },
  "luminance": 0.32523
}

Semantic roles & 50–950 ramp

primary
#18B31D
secondary
#CD5AC9
accent
#35EDF3
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #18B31D

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

Preview Lab → · Contrast checker → · Palette generator →

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