#1F6418#1F6418

#1F6418 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.129 H 141.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#1F6418
RGBrgb(31, 100, 24)
HSLhsl(114, 61%, 24%)
HSVhsv(114, 76%, 39%)
CMYKcmyk(69%, 0%, 76%, 60.8%)
CIE-LABlab(36.88, -37.05, 34.98)
CIE-LCHlch(36.88, 50.96, 136.64°)
OKLaboklab(44.36% -0.101 0.0795)
OKLCHoklch(44.36% 0.129 141.8)
XYZxyz(5.2868, 9.4711, 2.4135)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6418 #5D1864
analogous
#456418 #1F6418 #186437
triadic
#1F6418 #181F64 #64181F
tetradic
#1F6418 #184564 #5D1864 #643718
square
#1F6418 #184564 #5D1864 #643718
split-complementary
#1F6418 #371864 #641845
monochromatic
#081906 #10330C #1F6418 #2E9524 #3EC730

Accessibility & contrast

On white

7.26
#1F6418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1F6418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6418
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6418#FFFFFF#000000##FFFFFF
##1F64181.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0B
Deuteranopia (green-blind)
#5E5520
Tritanopia (blue-blind)
#116155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f6418;
/* rgb */ color: rgb(31, 100, 24);
/* oklch */ color: oklch(44.4% 0.129 141.8);
Tailwind
colors: {
  custom: {
    50: '#65915a',
    500: '#1f6418',
    950: '#000000',
  },
}
SCSS
$custom: #1f6418;
$custom-light: #65915a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6418",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 114.474,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4436,
    "c": 0.12854,
    "h": 141.8
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#1F6418
secondary
#923E9A
accent
#43E4D6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6418

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

Preview Lab → · Contrast checker → · Palette generator →

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