#1F6F15#1F6F15

#1F6F15 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.144 H 141.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#1F6F15
RGBrgb(31, 111, 21)
HSLhsl(113, 68%, 26%)
HSVhsv(113, 81%, 44%)
CMYKcmyk(72.1%, 0%, 81.1%, 56.5%)
CIE-LABlab(40.76, -41.39, 40.02)
CIE-LCHlch(40.76, 57.57, 135.97°)
OKLaboklab(47.57% -0.1129 0.0896)
OKLCHoklch(47.57% 0.144 141.6)
XYZxyz(6.3845, 11.7136, 2.6338)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F15 #65156F
analogous
#4C6F15 #1F6F15 #156F38
triadic
#1F6F15 #151F6F #6F151F
tetradic
#1F6F15 #154C6F #65156F #6F3815
square
#1F6F15 #154C6F #65156F #6F3815
split-complementary
#1F6F15 #38156F #6F154C
monochromatic
#071A05 #113C0B #1F6F15 #2DA21F #3CD628

Accessibility & contrast

On white

6.28
#1F6F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#1F6F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6F15
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6F15#FFFFFF#000000##FFFFFF
##1F6F151.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#0C6B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6f15;
/* rgb */ color: rgb(31, 111, 21);
/* oklch */ color: oklch(47.6% 0.144 141.6);
Tailwind
colors: {
  custom: {
    50: '#68995a',
    500: '#1f6f15',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f15;
$custom-light: #68995a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f15",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 113.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.14412,
    "h": 141.6
  },
  "luminance": 0.11714
}

Semantic roles & 50–950 ramp

primary
#1F6F15
secondary
#993AA5
accent
#3DEBD8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F6F15

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

Preview Lab → · Contrast checker → · Palette generator →

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