#1F6B15#1F6B15

#1F6B15 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.139 H 141.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#1F6B15
RGBrgb(31, 107, 21)
HSLhsl(113, 67%, 25%)
HSVhsv(113, 80%, 42%)
CMYKcmyk(71%, 0%, 80.4%, 58%)
CIE-LABlab(39.34, -39.93, 38.64)
CIE-LCHlch(39.34, 55.57, 135.94°)
OKLaboklab(46.4% -0.109 0.0867)
OKLCHoklch(46.4% 0.139 141.5)
XYZxyz(5.9578, 10.8602, 2.4916)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6B15 #61156B
analogous
#4A6B15 #1F6B15 #156B36
triadic
#1F6B15 #151F6B #6B151F
tetradic
#1F6B15 #154A6B #61156B #6B3615
square
#1F6B15 #154A6B #61156B #6B3615
split-complementary
#1F6B15 #36156B #6B154A
monochromatic
#071A05 #10380B #1F6B15 #2E9E1F #3DD129

Accessibility & contrast

On white

6.62
#1F6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#1F6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6B15
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6B15#FFFFFF#000000##FFFFFF
##1F6B151.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6003
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#0E675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f6b15;
/* rgb */ color: rgb(31, 107, 21);
/* oklch */ color: oklch(46.4% 0.139 141.5);
Tailwind
colors: {
  custom: {
    50: '#679659',
    500: '#1f6b15',
    950: '#000000',
  },
}
SCSS
$custom: #1f6b15;
$custom-light: #679659;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6b15",
  "rgb": {
    "r": 31,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 113.023,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46398,
    "c": 0.13925,
    "h": 141.5
  },
  "luminance": 0.10861
}

Semantic roles & 50–950 ramp

primary
#1F6B15
secondary
#963AA2
accent
#3EEAD6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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