#18761C#18761C

#18761C is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.151 H 143.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#18761C
RGBrgb(24, 118, 28)
HSLhsl(123, 66%, 28%)
HSVhsv(123, 80%, 46%)
CMYKcmyk(79.7%, 0%, 76.3%, 53.7%)
CIE-LABlab(43.11, -44.58, 39.69)
CIE-LCHlch(43.11, 59.68, 138.32°)
OKLaboklab(49.5% -0.1208 0.0899)
OKLCHoklch(49.5% 0.151 143.3)
XYZxyz(7.0643, 13.2341, 3.2805)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18761C #761872
analogous
#437618 #18761C #18764B
triadic
#18761C #1C1876 #761C18
tetradic
#18761C #184376 #761872 #764B18
square
#18761C #184376 #761872 #764B18
split-complementary
#18761C #4B1876 #761843
monochromatic
#051906 #0E4310 #18761C #22A928 #33D53A

Accessibility & contrast

On white

5.76
#18761C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#18761C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18761C
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18761C#FFFFFF#000000##FFFFFF
##18761C1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0B
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#007265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #18761c;
/* rgb */ color: rgb(24, 118, 28);
/* oklch */ color: oklch(49.5% 0.151 143.3);
Tailwind
colors: {
  custom: {
    50: '#679e5e',
    500: '#18761c',
    950: '#000000',
  },
}
SCSS
$custom: #18761c;
$custom-light: #679e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#18761c",
  "rgb": {
    "r": 24,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 122.553,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.15061,
    "h": 143.3
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#18761C
secondary
#AB3FA6
accent
#3FE2E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18761C

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

Preview Lab → · Contrast checker → · Palette generator →

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