#1F8618#1F8618

#1F8618 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.2% C 0.169 H 142.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1F8618
RGBrgb(31, 134, 24)
HSLhsl(116, 70%, 31%)
HSVhsv(116, 82%, 53%)
CMYKcmyk(76.9%, 0%, 82.1%, 47.5%)
CIE-LABlab(48.77, -49.15, 46.68)
CIE-LCHlch(48.77, 67.78, 136.48°)
OKLaboklab(54.23% -0.1337 0.1039)
OKLCHoklch(54.23% 0.169 142.2)
XYZxyz(9.2545, 17.4064, 3.7360)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8618 #7F1886
analogous
#568618 #1F8618 #188648
triadic
#1F8618 #181F86 #86181F
tetradic
#1F8618 #185686 #7F1886 #864818
square
#1F8618 #185686 #7F1886 #864818
split-complementary
#1F8618 #481886 #861856
monochromatic
#071E05 #13520F #1F8618 #2BBA21 #46DC3C

Accessibility & contrast

On white

4.69
#1F8618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1F8618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8618
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8618#FFFFFF#000000##FFFFFF
##1F86181.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8618;
/* rgb */ color: rgb(31, 134, 24);
/* oklch */ color: oklch(54.2% 0.169 142.2);
Tailwind
colors: {
  custom: {
    50: '#6eaa5f',
    500: '#1f8618',
    950: '#000000',
  },
}
SCSS
$custom: #1f8618;
$custom-light: #6eaa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8618",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 116.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.16935,
    "h": 142.2
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#1F8618
secondary
#B240BA
accent
#3BECE1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1F8618

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

Preview Lab → · Contrast checker → · Palette generator →

#1F8618 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva