#18901A#18901A

#18901A is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.181 H 142.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#18901A
RGBrgb(24, 144, 26)
HSLhsl(121, 71%, 33%)
HSVhsv(121, 83%, 56%)
CMYKcmyk(83.3%, 0%, 81.9%, 43.5%)
CIE-LABlab(52.08, -53.26, 49.14)
CIE-LCHlch(52.08, 72.47, 137.30°)
OKLaboklab(56.95% -0.1445 0.1094)
OKLCHoklch(56.95% 0.181 142.9)
XYZxyz(10.5357, 20.2140, 4.3235)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18901A #90188E
analogous
#529018 #18901A #189056
triadic
#18901A #1A1890 #901A18
tetradic
#18901A #185290 #90188E #905618
square
#18901A #185290 #90188E #905618
split-complementary
#18901A #561890 #901852
monochromatic
#072707 #0F5C11 #18901A #21C423 #43E045

Accessibility & contrast

On white

4.16
#18901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#18901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18901A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18901A#FFFFFF#000000##000000
##18901A1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#008C7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #18901a;
/* rgb */ color: rgb(24, 144, 26);
/* oklch */ color: oklch(57.0% 0.181 142.9);
Tailwind
colors: {
  custom: {
    50: '#6eb261',
    500: '#18901a',
    950: '#000000',
  },
}
SCSS
$custom: #18901a;
$custom-light: #6eb261;
$custom-dark: #000000;
JSON
{
  "hex": "#18901a",
  "rgb": {
    "r": 24,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 121,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.18119,
    "h": 142.9
  },
  "luminance": 0.20215
}

Semantic roles & 50–950 ramp

primary
#18901A
secondary
#C043BE
accent
#3AEBEE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #18901A

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

Preview Lab → · Contrast checker → · Palette generator →

#18901A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva