#18671A#18671A

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

Color values

HEX#18671A
RGBrgb(24, 103, 26)
HSLhsl(122, 62%, 25%)
HSVhsv(122, 77%, 40%)
CMYKcmyk(76.7%, 0%, 74.8%, 59.6%)
CIE-LABlab(37.79, -39.47, 35.02)
CIE-LCHlch(37.79, 52.77, 138.41°)
OKLaboklab(45.07% -0.107 0.0799)
OKLCHoklch(45.07% 0.134 143.3)
XYZxyz(5.4131, 9.9687, 2.6159)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18671A #671865
analogous
#3E6718 #18671A #186742
triadic
#18671A #1A1867 #671A18
tetradic
#18671A #183E67 #671865 #674218
square
#18671A #183E67 #671865 #674218
split-complementary
#18671A #421867 #67183E
monochromatic
#061906 #0C350D #18671A #249927 #2FCA33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18671A#FFFFFF#000000##FFFFFF
##18671A1.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)
#695D0E
Deuteranopia (green-blind)
#605722
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #18671a;
/* rgb */ color: rgb(24, 103, 26);
/* oklch */ color: oklch(45.1% 0.134 143.3);
Tailwind
colors: {
  custom: {
    50: '#63935b',
    500: '#18671a',
    950: '#000000',
  },
}
SCSS
$custom: #18671a;
$custom-light: #63935b;
$custom-dark: #000000;
JSON
{
  "hex": "#18671a",
  "rgb": {
    "r": 24,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 121.519,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45069,
    "c": 0.13358,
    "h": 143.3
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#18671A
secondary
#9D3E9B
accent
#43E1E5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #18671A

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

Preview Lab → · Contrast checker → · Palette generator →

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