#1F6D15#1F6D15

#1F6D15 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.142 H 141.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#1F6D15
RGBrgb(31, 109, 21)
HSLhsl(113, 68%, 25%)
HSVhsv(113, 81%, 43%)
CMYKcmyk(71.6%, 0%, 80.7%, 57.3%)
CIE-LABlab(40.05, -40.67, 39.33)
CIE-LCHlch(40.05, 56.57, 135.96°)
OKLaboklab(46.99% -0.111 0.0881)
OKLCHoklch(46.99% 0.142 141.5)
XYZxyz(6.1687, 11.2821, 2.5619)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6D15 #63156D
analogous
#4B6D15 #1F6D15 #156D37
triadic
#1F6D15 #151F6D #6D151F
tetradic
#1F6D15 #154B6D #63156D #6D3715
square
#1F6D15 #154B6D #63156D #6D3715
split-complementary
#1F6D15 #37156D #6D154B
monochromatic
#071A05 #103A0B #1F6D15 #2EA01F #3CD429

Accessibility & contrast

On white

6.45
#1F6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#1F6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6D15
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6D15#FFFFFF#000000##FFFFFF
##1F6D151.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706202
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#0D695C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f6d15;
/* rgb */ color: rgb(31, 109, 21);
/* oklch */ color: oklch(47.0% 0.142 141.5);
Tailwind
colors: {
  custom: {
    50: '#68985a',
    500: '#1f6d15',
    950: '#000000',
  },
}
SCSS
$custom: #1f6d15;
$custom-light: #68985a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6d15",
  "rgb": {
    "r": 31,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 113.182,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46985,
    "c": 0.14169,
    "h": 141.5
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#1F6D15
secondary
#983AA3
accent
#3DEBD7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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