#18901B#18901B

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

Color values

HEX#18901B
RGBrgb(24, 144, 27)
HSLhsl(122, 71%, 33%)
HSVhsv(122, 83%, 56%)
CMYKcmyk(83.3%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.08, -53.19, 48.84)
CIE-LCHlch(52.08, 72.21, 137.44°)
OKLaboklab(56.96% -0.1442 0.1089)
OKLCHoklch(56.96% 0.181 143)
XYZxyz(10.5471, 20.2185, 4.3834)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18901B #90188D
analogous
#519018 #18901B #189057
triadic
#18901B #1B1890 #901B18
tetradic
#18901B #185190 #90188D #905718
square
#18901B #185190 #90188D #905718
split-complementary
#18901B #571890 #901851
monochromatic
#072707 #0F5C11 #18901B #21C425 #43E047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18901B#FFFFFF#000000##000000
##18901B1.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)
#938200
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#008C7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #18901b;
/* rgb */ color: rgb(24, 144, 27);
/* oklch */ color: oklch(57.0% 0.181 143.0);
Tailwind
colors: {
  custom: {
    50: '#6eb262',
    500: '#18901b',
    950: '#000000',
  },
}
SCSS
$custom: #18901b;
$custom-light: #6eb262;
$custom-dark: #000000;
JSON
{
  "hex": "#18901b",
  "rgb": {
    "r": 24,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 121.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.18072,
    "h": 143
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

primary
#18901B
secondary
#C043BD
accent
#3AEAEE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #18901B

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

Preview Lab → · Contrast checker → · Palette generator →

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