#1F6C15#1F6C15

#1F6C15 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.7% C 0.140 H 141.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#1F6C15
RGBrgb(31, 108, 21)
HSLhsl(113, 67%, 25%)
HSVhsv(113, 81%, 42%)
CMYKcmyk(71.3%, 0%, 80.6%, 57.6%)
CIE-LABlab(39.70, -40.30, 38.99)
CIE-LCHlch(39.70, 56.07, 135.95°)
OKLaboklab(46.69% -0.11 0.0874)
OKLCHoklch(46.69% 0.14 141.5)
XYZxyz(6.0627, 11.0699, 2.5265)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6C15 #62156C
analogous
#4B6C15 #1F6C15 #156C36
triadic
#1F6C15 #151F6C #6C151F
tetradic
#1F6C15 #154B6C #62156C #6C3615
square
#1F6C15 #154B6C #62156C #6C3615
split-complementary
#1F6C15 #36156C #6C154B
monochromatic
#071A05 #10390B #1F6C15 #2E9F1F #3CD229

Accessibility & contrast

On white

6.53
#1F6C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#1F6C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6C15
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6C15#FFFFFF#000000##FFFFFF
##1F6C151.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6102
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#0E685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f6c15;
/* rgb */ color: rgb(31, 108, 21);
/* oklch */ color: oklch(46.7% 0.140 141.5);
Tailwind
colors: {
  custom: {
    50: '#67975a',
    500: '#1f6c15',
    950: '#000000',
  },
}
SCSS
$custom: #1f6c15;
$custom-light: #67975a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6c15",
  "rgb": {
    "r": 31,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 113.103,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46692,
    "c": 0.14048,
    "h": 141.5
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#1F6C15
secondary
#973AA3
accent
#3DEAD6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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