#1F6918#1F6918

#1F6918 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.135 H 141.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#1F6918
RGBrgb(31, 105, 24)
HSLhsl(115, 63%, 25%)
HSVhsv(115, 77%, 41%)
CMYKcmyk(70.5%, 0%, 77.1%, 58.8%)
CIE-LABlab(38.66, -38.95, 36.80)
CIE-LCHlch(38.66, 53.58, 136.62°)
OKLaboklab(45.83% -0.1061 0.0833)
OKLCHoklch(45.83% 0.135 141.9)
XYZxyz(5.7812, 10.4598, 2.5783)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6918 #621869
analogous
#476918 #1F6918 #186939
triadic
#1F6918 #181F69 #69181F
tetradic
#1F6918 #184769 #621869 #693918
square
#1F6918 #184769 #621869 #693918
split-complementary
#1F6918 #391869 #691847
monochromatic
#071906 #10370D #1F6918 #2E9B23 #3CCD2F

Accessibility & contrast

On white

6.79
#1F6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#1F6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6918
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6918#FFFFFF#000000##FFFFFF
##1F69181.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#0F6659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f6918;
/* rgb */ color: rgb(31, 105, 24);
/* oklch */ color: oklch(45.8% 0.135 141.9);
Tailwind
colors: {
  custom: {
    50: '#66955b',
    500: '#1f6918',
    950: '#000000',
  },
}
SCSS
$custom: #1f6918;
$custom-light: #66955b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6918",
  "rgb": {
    "r": 31,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 114.815,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45834,
    "c": 0.13493,
    "h": 141.9
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#1F6918
secondary
#973E9F
accent
#42E6D8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6918

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

Preview Lab → · Contrast checker → · Palette generator →

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