#18904D#18904D

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

Color values

HEX#18904D
RGBrgb(24, 144, 77)
HSLhsl(147, 71%, 33%)
HSVhsv(147, 83%, 56%)
CMYKcmyk(83.3%, 0%, 46.5%, 43.5%)
CIE-LABlab(52.59, -47.01, 26.86)
CIE-LCHlch(52.59, 54.14, 150.26°)
OKLaboklab(57.55% -0.1262 0.066)
OKLCHoklch(57.55% 0.142 152.4)
XYZxyz(11.6884, 20.6751, 10.3944)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18904D #90185B
analogous
#1F9018 #18904D #189089
triadic
#18904D #4D1890 #904D18
tetradic
#18904D #181F90 #90185B #908918
square
#18904D #181F90 #90185B #908918
split-complementary
#18904D #891890 #90181F
monochromatic
#072715 #0F5C31 #18904D #21C469 #43E088

Accessibility & contrast

On white

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

On black

5.14
#18904D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18904D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18904D#FFFFFF#000000##000000
##18904D1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18904d;
/* rgb */ color: rgb(24, 144, 77);
/* oklch */ color: oklch(57.5% 0.142 152.4);
Tailwind
colors: {
  custom: {
    50: '#6cb280',
    500: '#18904d',
    950: '#000000',
  },
}
SCSS
$custom: #18904d;
$custom-light: #6cb280;
$custom-dark: #000000;
JSON
{
  "hex": "#18904d",
  "rgb": {
    "r": 24,
    "g": 144,
    "b": 77
  },
  "hsl": {
    "h": 146.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.14245,
    "h": 152.4
  },
  "luminance": 0.20677
}

Semantic roles & 50–950 ramp

primary
#18904D
secondary
#C04389
accent
#3A9EEE
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #18904D

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

Preview Lab → · Contrast checker → · Palette generator →

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