#18901D#18901D

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

Color values

HEX#18901D
RGBrgb(24, 144, 29)
HSLhsl(123, 71%, 33%)
HSVhsv(123, 83%, 56%)
CMYKcmyk(83.3%, 0%, 79.9%, 43.5%)
CIE-LABlab(52.09, -53.06, 48.21)
CIE-LCHlch(52.09, 71.69, 137.74°)
OKLaboklab(56.97% -0.1438 0.1078)
OKLCHoklch(56.97% 0.18 143.1)
XYZxyz(10.5710, 20.2281, 4.5094)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18901D #90188B
analogous
#4F9018 #18901D #189059
triadic
#18901D #1D1890 #901D18
tetradic
#18901D #184F90 #90188B #905918
square
#18901D #184F90 #90188B #905918
split-complementary
#18901D #591890 #90184F
monochromatic
#072708 #0F5C12 #18901D #21C428 #43E049

Accessibility & contrast

On white

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

On black

5.05
#18901D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18901D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18901D#FFFFFF#000000##000000
##18901D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #18901d;
/* rgb */ color: rgb(24, 144, 29);
/* oklch */ color: oklch(57.0% 0.180 143.1);
Tailwind
colors: {
  custom: {
    50: '#6eb263',
    500: '#18901d',
    950: '#000000',
  },
}
SCSS
$custom: #18901d;
$custom-light: #6eb263;
$custom-dark: #000000;
JSON
{
  "hex": "#18901d",
  "rgb": {
    "r": 24,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 122.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.17974,
    "h": 143.1
  },
  "luminance": 0.20229
}

Semantic roles & 50–950 ramp

primary
#18901D
secondary
#C043BB
accent
#3AE7EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #18901D

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

Preview Lab → · Contrast checker → · Palette generator →

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