#18671C#18671C

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

Color values

HEX#18671C
RGBrgb(24, 103, 28)
HSLhsl(123, 62%, 25%)
HSVhsv(123, 77%, 40%)
CMYKcmyk(76.7%, 0%, 72.8%, 59.6%)
CIE-LABlab(37.80, -39.26, 34.17)
CIE-LCHlch(37.80, 52.05, 138.97°)
OKLaboklab(45.09% -0.1064 0.0784)
OKLCHoklch(45.09% 0.132 143.6)
XYZxyz(5.4362, 9.9779, 2.7378)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18671C #671863
analogous
#3C6718 #18671C #186744
triadic
#18671C #1C1867 #671C18
tetradic
#18671C #183C67 #671863 #674418
square
#18671C #183C67 #671863 #674418
split-complementary
#18671C #441867 #67183C
monochromatic
#061907 #0C350F #18671C #249929 #2FCA37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18671C#FFFFFF#000000##FFFFFF
##18671C1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18671c;
/* rgb */ color: rgb(24, 103, 28);
/* oklch */ color: oklch(45.1% 0.132 143.6);
Tailwind
colors: {
  custom: {
    50: '#63935d',
    500: '#18671c',
    950: '#000000',
  },
}
SCSS
$custom: #18671c;
$custom-light: #63935d;
$custom-dark: #000000;
JSON
{
  "hex": "#18671c",
  "rgb": {
    "r": 24,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 123.038,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45088,
    "c": 0.13214,
    "h": 143.6
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#18671C
secondary
#9D3E98
accent
#43DDE5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #18671C

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

Preview Lab → · Contrast checker → · Palette generator →

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