#1F6018#1F6018

#1F6018 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.2% C 0.123 H 141.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#1F6018
RGBrgb(31, 96, 24)
HSLhsl(114, 60%, 24%)
HSVhsv(114, 75%, 38%)
CMYKcmyk(67.7%, 0%, 75%, 62.4%)
CIE-LABlab(35.44, -35.49, 33.50)
CIE-LCHlch(35.44, 48.81, 136.65°)
OKLaboklab(43.18% -0.0968 0.0764)
OKLCHoklch(43.18% 0.123 141.7)
XYZxyz(4.9126, 8.7225, 2.2887)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6018 #591860
analogous
#436018 #1F6018 #186035
triadic
#1F6018 #181F60 #60181F
tetradic
#1F6018 #184360 #591860 #603518
square
#1F6018 #184360 #591860 #603518
split-complementary
#1F6018 #351860 #601843
monochromatic
#081806 #0F2F0C #1F6018 #2F9124 #3FC230

Accessibility & contrast

On white

7.65
#1F6018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1F6018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6018
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6018#FFFFFF#000000##FFFFFF
##1F60181.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62570D
Deuteranopia (green-blind)
#5B511F
Tritanopia (blue-blind)
#135D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f6018;
/* rgb */ color: rgb(31, 96, 24);
/* oklch */ color: oklch(43.2% 0.123 141.7);
Tailwind
colors: {
  custom: {
    50: '#648e59',
    500: '#1f6018',
    950: '#000000',
  },
}
SCSS
$custom: #1f6018;
$custom-light: #648e59;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6018",
  "rgb": {
    "r": 31,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 114.167,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43175,
    "c": 0.12332,
    "h": 141.7
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#1F6018
secondary
#8E3D96
accent
#45E3D4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #1F6018

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

Preview Lab → · Contrast checker → · Palette generator →

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