#18B31C#18B31C

#18B31C 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#18B31C
RGBrgb(24, 179, 28)
HSLhsl(122, 76%, 40%)
HSVhsv(122, 87%, 70%)
CMYKcmyk(86.6%, 0%, 84.4%, 29.8%)
CIE-LABlab(63.77, -63.75, 59.39)
CIE-LCHlch(63.77, 87.12, 137.03°)
OKLaboklab(66.69% -0.1729 0.1311)
OKLCHoklch(66.69% 0.217 142.8)
XYZxyz(16.7053, 32.5161, 6.4942)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B31C #B318AF
analogous
#62B318 #18B31C #18B369
triadic
#18B31C #1C18B3 #B31C18
tetradic
#18B31C #1862B3 #B318AF #B36918
square
#18B31C #1862B3 #B318AF #B36918
split-complementary
#18B31C #6918B3 #B31862
monochromatic
#0A470B #117D14 #18B31C #26E22B #5CE960

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18B31C#FFFFFF#000000##000000
##18B31C1.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: #18b31c;
/* rgb */ color: rgb(24, 179, 28);
/* oklch */ color: oklch(66.7% 0.217 142.8);
Tailwind
colors: {
  custom: {
    50: '#77cb68',
    500: '#18b31c',
    950: '#000000',
  },
}
SCSS
$custom: #18b31c;
$custom-light: #77cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#18b31c",
  "rgb": {
    "r": 24,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 121.548,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66693,
    "c": 0.21694,
    "h": 142.8
  },
  "luminance": 0.32518
}

Semantic roles & 50–950 ramp

primary
#18B31C
secondary
#CD5ACA
accent
#35EEF3
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #18B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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