#18681B#18681B

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

Color values

HEX#18681B
RGBrgb(24, 104, 27)
HSLhsl(122, 63%, 25%)
HSVhsv(122, 77%, 41%)
CMYKcmyk(76.9%, 0%, 74%, 59.2%)
CIE-LABlab(38.15, -39.73, 34.98)
CIE-LCHlch(38.15, 52.93, 138.64°)
OKLaboklab(45.38% -0.1077 0.0799)
OKLCHoklch(45.38% 0.134 143.4)
XYZxyz(5.5245, 10.1733, 2.7092)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18681B #681865
analogous
#3D6818 #18681B #186843
triadic
#18681B #1B1868 #681B18
tetradic
#18681B #183D68 #681865 #684318
square
#18681B #183D68 #681865 #684318
split-complementary
#18681B #431868 #68183D
monochromatic
#061906 #0D360E #18681B #239A28 #2FCB35

Accessibility & contrast

On white

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

On black

3.03
#18681B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18681B#FFFFFF#000000##FFFFFF
##18681B1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18681b;
/* rgb */ color: rgb(24, 104, 27);
/* oklch */ color: oklch(45.4% 0.134 143.4);
Tailwind
colors: {
  custom: {
    50: '#63945c',
    500: '#18681b',
    950: '#000000',
  },
}
SCSS
$custom: #18681b;
$custom-light: #63945c;
$custom-dark: #000000;
JSON
{
  "hex": "#18681b",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 122.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45375,
    "c": 0.13413,
    "h": 143.4
  },
  "luminance": 0.10174
}

Semantic roles & 50–950 ramp

primary
#18681B
secondary
#9E3E9A
accent
#42DFE6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #18681B

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

Preview Lab → · Contrast checker → · Palette generator →

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