#1F6715#1F6715

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

Color values

HEX#1F6715
RGBrgb(31, 103, 21)
HSLhsl(113, 66%, 24%)
HSVhsv(113, 80%, 40%)
CMYKcmyk(69.9%, 0%, 79.6%, 59.6%)
CIE-LABlab(37.92, -38.45, 37.24)
CIE-LCHlch(37.92, 53.53, 135.91°)
OKLaboklab(45.22% -0.105 0.0838)
OKLCHoklch(45.22% 0.134 141.4)
XYZxyz(5.5504, 10.0454, 2.3558)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6715 #5D1567
analogous
#486715 #1F6715 #156734
triadic
#1F6715 #151F67 #67151F
tetradic
#1F6715 #154867 #5D1567 #673415
square
#1F6715 #154867 #5D1567 #673415
split-complementary
#1F6715 #341567 #671548
monochromatic
#081905 #10340B #1F6715 #2E9A1F #3ECD2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6715#FFFFFF#000000##FFFFFF
##1F67151.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)
#6A5D04
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#116457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f6715;
/* rgb */ color: rgb(31, 103, 21);
/* oklch */ color: oklch(45.2% 0.134 141.4);
Tailwind
colors: {
  custom: {
    50: '#669359',
    500: '#1f6715',
    950: '#000000',
  },
}
SCSS
$custom: #1f6715;
$custom-light: #669359;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6715",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 112.683,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.13429,
    "h": 141.4
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#1F6715
secondary
#923A9E
accent
#3FE9D4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6715

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

Preview Lab → · Contrast checker → · Palette generator →

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