#1F6810#1F6810

#1F6810 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.138 H 140.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#1F6810
RGBrgb(31, 104, 16)
HSLhsl(110, 73%, 24%)
HSVhsv(110, 85%, 41%)
CMYKcmyk(70.2%, 0%, 84.6%, 59.2%)
CIE-LABlab(38.25, -39.18, 39.32)
CIE-LCHlch(38.25, 55.50, 134.90°)
OKLaboklab(45.48% -0.1072 0.0873)
OKLCHoklch(45.48% 0.138 140.8)
XYZxyz(5.6086, 10.2288, 2.1689)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6810 #591068
analogous
#4B6810 #1F6810 #10682D
triadic
#1F6810 #101F68 #68101F
tetradic
#1F6810 #104B68 #591068 #682D10
square
#1F6810 #104B68 #591068 #682D10
split-complementary
#1F6810 #2D1068 #68104B
monochromatic
#081B04 #0F3308 #1F6810 #2F9D18 #3FD220

Accessibility & contrast

On white

6.89
#1F6810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1F6810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6810
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6810#FFFFFF#000000##FFFFFF
##1F68101.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#116458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f6810;
/* rgb */ color: rgb(31, 104, 16);
/* oklch */ color: oklch(45.5% 0.138 140.8);
Tailwind
colors: {
  custom: {
    50: '#679457',
    500: '#1f6810',
    950: '#000000',
  },
}
SCSS
$custom: #1f6810;
$custom-light: #679457;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6810",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 109.773,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45482,
    "c": 0.13828,
    "h": 140.8
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#1F6810
secondary
#8E34A0
accent
#38F0D1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #1F6810

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

Preview Lab → · Contrast checker → · Palette generator →

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