#18681C#18681C

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

Color values

HEX#18681C
RGBrgb(24, 104, 28)
HSLhsl(123, 63%, 25%)
HSVhsv(123, 77%, 41%)
CMYKcmyk(76.9%, 0%, 73.1%, 59.2%)
CIE-LABlab(38.16, -39.63, 34.55)
CIE-LCHlch(38.16, 52.57, 138.92°)
OKLaboklab(45.38% -0.1074 0.0792)
OKLCHoklch(45.38% 0.133 143.6)
XYZxyz(5.5363, 10.1780, 2.7712)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18681C #681864
analogous
#3C6818 #18681C #186844
triadic
#18681C #1C1868 #681C18
tetradic
#18681C #183C68 #681864 #684418
square
#18681C #183C68 #681864 #684418
split-complementary
#18681C #441868 #68183C
monochromatic
#061907 #0D360F #18681C #239A29 #2FCB37

Accessibility & contrast

On white

6.92
#18681C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18681C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18681C#FFFFFF#000000##FFFFFF
##18681C1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18681c;
/* rgb */ color: rgb(24, 104, 28);
/* oklch */ color: oklch(45.4% 0.133 143.6);
Tailwind
colors: {
  custom: {
    50: '#63945d',
    500: '#18681c',
    950: '#000000',
  },
}
SCSS
$custom: #18681c;
$custom-light: #63945d;
$custom-dark: #000000;
JSON
{
  "hex": "#18681c",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 123,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.13341,
    "h": 143.6
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#18681C
secondary
#9E3E99
accent
#42DDE6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #18681C

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

Preview Lab → · Contrast checker → · Palette generator →

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