#1F7716#1F7716

#1F7716 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.153 H 141.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#1F7716
RGBrgb(31, 119, 22)
HSLhsl(114, 69%, 28%)
HSVhsv(114, 82%, 47%)
CMYKcmyk(73.9%, 0%, 81.5%, 53.3%)
CIE-LABlab(43.57, -44.17, 42.38)
CIE-LCHlch(43.57, 61.21, 136.18°)
OKLaboklab(49.91% -0.1204 0.0946)
OKLCHoklch(49.91% 0.153 141.8)
XYZxyz(7.3063, 13.5421, 2.9877)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7716 #6E1677
analogous
#4F7716 #1F7716 #16773D
triadic
#1F7716 #161F77 #77161F
tetradic
#1F7716 #164F77 #6E1677 #773D16
square
#1F7716 #164F77 #6E1677 #773D16
split-complementary
#1F7716 #3D1677 #77164F
monochromatic
#071A05 #12430C #1F7716 #2CAB20 #3FD92F

Accessibility & contrast

On white

5.66
#1F7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#1F7716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7716
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7716#FFFFFF#000000##FFFFFF
##1F77161.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#057365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7716;
/* rgb */ color: rgb(31, 119, 22);
/* oklch */ color: oklch(49.9% 0.153 141.8);
Tailwind
colors: {
  custom: {
    50: '#6a9f5c',
    500: '#1f7716',
    950: '#000000',
  },
}
SCSS
$custom: #1f7716;
$custom-light: #6a9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7716",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 114.433,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49905,
    "c": 0.15311,
    "h": 141.8
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#1F7716
secondary
#A23CAC
accent
#3CECDB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #1F7716

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

Preview Lab → · Contrast checker → · Palette generator →

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