#18671F#18671F

#18671F is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.130 H 144.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#18671F
RGBrgb(24, 103, 31)
HSLhsl(125, 62%, 25%)
HSVhsv(125, 77%, 40%)
CMYKcmyk(76.7%, 0%, 69.9%, 59.6%)
CIE-LABlab(37.83, -38.94, 32.83)
CIE-LCHlch(37.83, 50.93, 139.86°)
OKLaboklab(45.12% -0.1053 0.0759)
OKLCHoklch(45.12% 0.13 144.2)
XYZxyz(5.4739, 9.9930, 2.9364)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18671F #671860
analogous
#396718 #18671F #186746
triadic
#18671F #1F1867 #671F18
tetradic
#18671F #183967 #671860 #674618
square
#18671F #183967 #671860 #674618
split-complementary
#18671F #461867 #671839
monochromatic
#061907 #0C3510 #18671F #24992E #2FCA3D

Accessibility & contrast

On white

7.00
#18671F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#18671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18671F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18671F#FFFFFF#000000##FFFFFF
##18671F1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D16
Deuteranopia (green-blind)
#605726
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #18671f;
/* rgb */ color: rgb(24, 103, 31);
/* oklch */ color: oklch(45.1% 0.130 144.2);
Tailwind
colors: {
  custom: {
    50: '#63935e',
    500: '#18671f',
    950: '#000000',
  },
}
SCSS
$custom: #18671f;
$custom-light: #63935e;
$custom-dark: #000000;
JSON
{
  "hex": "#18671f",
  "rgb": {
    "r": 24,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 125.316,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45119,
    "c": 0.12986,
    "h": 144.2
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#18671F
secondary
#9D3E95
accent
#43D7E5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #18671F

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

Preview Lab → · Contrast checker → · Palette generator →

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