#18901C#18901C

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

Color values

HEX#18901C
RGBrgb(24, 144, 28)
HSLhsl(122, 71%, 33%)
HSVhsv(122, 83%, 56%)
CMYKcmyk(83.3%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.09, -53.13, 48.53)
CIE-LCHlch(52.09, 71.95, 137.59°)
OKLaboklab(56.96% -0.144 0.1084)
OKLCHoklch(56.96% 0.18 143)
XYZxyz(10.5589, 20.2233, 4.4454)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18901C #90188C
analogous
#509018 #18901C #189058
triadic
#18901C #1C1890 #901C18
tetradic
#18901C #185090 #90188C #905818
square
#18901C #185090 #90188C #905818
split-complementary
#18901C #581890 #901850
monochromatic
#072708 #0F5C12 #18901C #21C426 #43E048

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18901C#FFFFFF#000000##000000
##18901C1.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)
#87792A
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#18901C
secondary
#C043BC
accent
#3AE8EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #18901C

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

Preview Lab → · Contrast checker → · Palette generator →

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