#18671B#18671B

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

Color values

HEX#18671B
RGBrgb(24, 103, 27)
HSLhsl(122, 62%, 25%)
HSVhsv(122, 77%, 40%)
CMYKcmyk(76.7%, 0%, 73.8%, 59.6%)
CIE-LABlab(37.79, -39.37, 34.60)
CIE-LCHlch(37.79, 52.41, 138.69°)
OKLaboklab(45.08% -0.1067 0.0792)
OKLCHoklch(45.08% 0.133 143.4)
XYZxyz(5.4244, 9.9732, 2.6758)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18671B #671864
analogous
#3D6718 #18671B #186742
triadic
#18671B #1B1867 #671B18
tetradic
#18671B #183D67 #671864 #674218
square
#18671B #183D67 #671864 #674218
split-complementary
#18671B #421867 #67183D
monochromatic
#061907 #0C350E #18671B #249928 #2FCA35

Accessibility & contrast

On white

7.01
#18671B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#18671B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18671B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18671B#FFFFFF#000000##FFFFFF
##18671B1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18671b;
/* rgb */ color: rgb(24, 103, 27);
/* oklch */ color: oklch(45.1% 0.133 143.4);
Tailwind
colors: {
  custom: {
    50: '#63935c',
    500: '#18671b',
    950: '#000000',
  },
}
SCSS
$custom: #18671b;
$custom-light: #63935c;
$custom-dark: #000000;
JSON
{
  "hex": "#18671b",
  "rgb": {
    "r": 24,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 122.278,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45078,
    "c": 0.13287,
    "h": 143.4
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#18671B
secondary
#9D3E99
accent
#43DFE5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #18671B

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

Preview Lab → · Contrast checker → · Palette generator →

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