#18681F#18681F

#18681F is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.131 H 144.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#18681F
RGBrgb(24, 104, 31)
HSLhsl(125, 63%, 25%)
HSVhsv(125, 77%, 41%)
CMYKcmyk(76.9%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.19, -39.31, 33.22)
CIE-LCHlch(38.19, 51.47, 139.79°)
OKLaboklab(45.42% -0.1063 0.0768)
OKLCHoklch(45.42% 0.131 144.2)
XYZxyz(5.5740, 10.1931, 2.9698)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18681F #681861
analogous
#396818 #18681F #186847
triadic
#18681F #1F1868 #681F18
tetradic
#18681F #183968 #681861 #684718
square
#18681F #183968 #681861 #684718
split-complementary
#18681F #471868 #681839
monochromatic
#061907 #0D3610 #18681F #239A2E #2FCB3D

Accessibility & contrast

On white

6.91
#18681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#18681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18681F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18681F#FFFFFF#000000##FFFFFF
##18681F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E15
Deuteranopia (green-blind)
#615726
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #18681f;
/* rgb */ color: rgb(24, 104, 31);
/* oklch */ color: oklch(45.4% 0.131 144.2);
Tailwind
colors: {
  custom: {
    50: '#63945e',
    500: '#18681f',
    950: '#000000',
  },
}
SCSS
$custom: #18681f;
$custom-light: #63945e;
$custom-dark: #000000;
JSON
{
  "hex": "#18681f",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 125.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45415,
    "c": 0.13116,
    "h": 144.2
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#18681F
secondary
#9E3E96
accent
#42D7E6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #18681F

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

Preview Lab → · Contrast checker → · Palette generator →

#18681F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva