#18904C#18904C

#18904C is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.143 H 152.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#18904C
RGBrgb(24, 144, 76)
HSLhsl(146, 71%, 33%)
HSVhsv(146, 83%, 56%)
CMYKcmyk(83.3%, 0%, 47.2%, 43.5%)
CIE-LABlab(52.58, -47.19, 27.37)
CIE-LCHlch(52.58, 54.56, 149.89°)
OKLaboklab(57.53% -0.1267 0.0672)
OKLCHoklch(57.53% 0.143 152.1)
XYZxyz(11.6534, 20.6611, 10.2099)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18904C #90185C
analogous
#209018 #18904C #189088
triadic
#18904C #4C1890 #904C18
tetradic
#18904C #182090 #90185C #908818
square
#18904C #182090 #90185C #908818
split-complementary
#18904C #881890 #901820
monochromatic
#072715 #0F5C30 #18904C #21C468 #43E087

Accessibility & contrast

On white

4.09
#18904C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#18904C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18904C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18904C#FFFFFF#000000##000000
##18904C1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908347
Deuteranopia (green-blind)
#837A51
Tritanopia (blue-blind)
#008E80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #18904c;
/* rgb */ color: rgb(24, 144, 76);
/* oklch */ color: oklch(57.5% 0.143 152.1);
Tailwind
colors: {
  custom: {
    50: '#6cb27f',
    500: '#18904c',
    950: '#000000',
  },
}
SCSS
$custom: #18904c;
$custom-light: #6cb27f;
$custom-dark: #000000;
JSON
{
  "hex": "#18904c",
  "rgb": {
    "r": 24,
    "g": 144,
    "b": 76
  },
  "hsl": {
    "h": 146,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57527,
    "c": 0.14341,
    "h": 152.1
  },
  "luminance": 0.20663
}

Semantic roles & 50–950 ramp

primary
#18904C
secondary
#C0438A
accent
#3AA0EE
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #18904C

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

Preview Lab → · Contrast checker → · Palette generator →

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