#1F6716#1F6716

#1F6716 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.134 H 141.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#1F6716
RGBrgb(31, 103, 22)
HSLhsl(113, 65%, 25%)
HSVhsv(113, 79%, 40%)
CMYKcmyk(69.9%, 0%, 78.6%, 59.6%)
CIE-LABlab(37.93, -38.37, 36.86)
CIE-LCHlch(37.93, 53.21, 136.14°)
OKLaboklab(45.23% -0.1047 0.0831)
OKLCHoklch(45.23% 0.134 141.6)
XYZxyz(5.5598, 10.0492, 2.4056)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6716 #5E1667
analogous
#486716 #1F6716 #166735
triadic
#1F6716 #161F67 #67161F
tetradic
#1F6716 #164867 #5E1667 #673516
square
#1F6716 #164867 #5E1667 #673516
split-complementary
#1F6716 #351667 #671648
monochromatic
#081905 #10350B #1F6716 #2E9921 #3DCC2C

Accessibility & contrast

On white

6.98
#1F6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1F6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6716
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6716#FFFFFF#000000##FFFFFF
##1F67161.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#106457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f6716;
/* rgb */ color: rgb(31, 103, 22);
/* oklch */ color: oklch(45.2% 0.134 141.6);
Tailwind
colors: {
  custom: {
    50: '#669359',
    500: '#1f6716',
    950: '#000000',
  },
}
SCSS
$custom: #1f6716;
$custom-light: #669359;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6716",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 113.333,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45229,
    "c": 0.13367,
    "h": 141.6
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#1F6716
secondary
#933B9E
accent
#40E8D5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6716

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

Preview Lab → · Contrast checker → · Palette generator →

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