#1F6714#1F6714

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

Color values

HEX#1F6714
RGBrgb(31, 103, 20)
HSLhsl(112, 67%, 24%)
HSVhsv(112, 81%, 40%)
CMYKcmyk(69.9%, 0%, 80.6%, 59.6%)
CIE-LABlab(37.92, -38.52, 37.61)
CIE-LCHlch(37.92, 53.84, 135.69°)
OKLaboklab(45.21% -0.1052 0.0844)
OKLCHoklch(45.21% 0.135 141.3)
XYZxyz(5.5413, 10.0417, 2.3079)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6714 #5C1467
analogous
#496714 #1F6714 #146733
triadic
#1F6714 #141F67 #67141F
tetradic
#1F6714 #144967 #5C1467 #673314
square
#1F6714 #144967 #5C1467 #673314
split-complementary
#1F6714 #331467 #671449
monochromatic
#081A05 #10340A #1F6714 #2E9A1E #3ECD28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6714#FFFFFF#000000##FFFFFF
##1F67141.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)
#6A5D03
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#116457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f6714;
/* rgb */ color: rgb(31, 103, 20);
/* oklch */ color: oklch(45.2% 0.135 141.3);
Tailwind
colors: {
  custom: {
    50: '#669358',
    500: '#1f6714',
    950: '#000000',
  },
}
SCSS
$custom: #1f6714;
$custom-light: #669358;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6714",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 112.048,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.13488,
    "h": 141.3
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#1F6714
secondary
#91399E
accent
#3DEAD3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6714

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

Preview Lab → · Contrast checker → · Palette generator →

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