#18782E#18782E

#18782E is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.139 H 146.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#18782E
RGBrgb(24, 120, 46)
HSLhsl(134, 67%, 28%)
HSVhsv(134, 80%, 47%)
CMYKcmyk(80%, 0%, 61.7%, 52.9%)
CIE-LABlab(43.98, -43.26, 32.50)
CIE-LCHlch(43.98, 54.11, 143.08°)
OKLaboklab(50.27% -0.1164 0.0768)
OKLCHoklch(50.27% 0.139 146.6)
XYZxyz(7.5857, 13.8235, 4.8526)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18782E #781862
analogous
#327818 #18782E #18785E
triadic
#18782E #2E1878 #782E18
tetradic
#18782E #183278 #781862 #785E18
square
#18782E #183278 #781862 #785E18
split-complementary
#18782E #5E1878 #781832
monochromatic
#051A0A #0E451A #18782E #22AB42 #34D659

Accessibility & contrast

On white

5.58
#18782E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#18782E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18782E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18782E#FFFFFF#000000##FFFFFF
##18782E1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C26
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18782e;
/* rgb */ color: rgb(24, 120, 46);
/* oklch */ color: oklch(50.3% 0.139 146.6);
Tailwind
colors: {
  custom: {
    50: '#67a069',
    500: '#18782e',
    950: '#000000',
  },
}
SCSS
$custom: #18782e;
$custom-light: #67a069;
$custom-dark: #000000;
JSON
{
  "hex": "#18782e",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 133.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5027,
    "c": 0.13948,
    "h": 146.6
  },
  "luminance": 0.13824
}

Semantic roles & 50–950 ramp

primary
#18782E
secondary
#AD3F94
accent
#3EC2EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #18782E

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

Preview Lab → · Contrast checker → · Palette generator →

#18782E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva