#18761F#18761F

#18761F is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.5% C 0.149 H 143.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#18761F
RGBrgb(24, 118, 31)
HSLhsl(124, 66%, 28%)
HSVhsv(124, 80%, 46%)
CMYKcmyk(79.7%, 0%, 73.7%, 53.7%)
CIE-LABlab(43.14, -44.30, 38.49)
CIE-LCHlch(43.14, 58.69, 139.01°)
OKLaboklab(49.52% -0.1199 0.0879)
OKLCHoklch(49.52% 0.149 143.8)
XYZxyz(7.1020, 13.2492, 3.4791)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18761F #76186F
analogous
#407618 #18761F #18764E
triadic
#18761F #1F1876 #761F18
tetradic
#18761F #184076 #76186F #764E18
square
#18761F #184076 #76186F #764E18
split-complementary
#18761F #4E1876 #761840
monochromatic
#051907 #0E4312 #18761F #22A92C #33D53F

Accessibility & contrast

On white

5.75
#18761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18761F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18761F#FFFFFF#000000##FFFFFF
##18761F1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #18761f;
/* rgb */ color: rgb(24, 118, 31);
/* oklch */ color: oklch(49.5% 0.149 143.8);
Tailwind
colors: {
  custom: {
    50: '#679e60',
    500: '#18761f',
    950: '#000000',
  },
}
SCSS
$custom: #18761f;
$custom-light: #679e60;
$custom-dark: #000000;
JSON
{
  "hex": "#18761f",
  "rgb": {
    "r": 24,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 124.468,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.14865,
    "h": 143.8
  },
  "luminance": 0.1325
}

Semantic roles & 50–950 ramp

primary
#18761F
secondary
#AB3FA3
accent
#3FDCE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18761F

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

Preview Lab → · Contrast checker → · Palette generator →

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