#1F7316#1F7316

#1F7316 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.148 H 141.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#1F7316
RGBrgb(31, 115, 22)
HSLhsl(114, 68%, 27%)
HSVhsv(114, 81%, 45%)
CMYKcmyk(73%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.17, -42.76, 41.03)
CIE-LCHlch(42.17, 59.26, 136.18°)
OKLaboklab(48.74% -0.1165 0.0918)
OKLCHoklch(48.74% 0.148 141.8)
XYZxyz(6.8402, 12.6100, 2.8324)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7316 #6A1673
analogous
#4E7316 #1F7316 #16733C
triadic
#1F7316 #161F73 #73161F
tetradic
#1F7316 #164E73 #6A1673 #733C16
square
#1F7316 #164E73 #6A1673 #733C16
split-complementary
#1F7316 #3C1673 #73164E
monochromatic
#071A05 #11400C #1F7316 #2DA620 #3DD72D

Accessibility & contrast

On white

5.96
#1F7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#1F7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7316
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7316#FFFFFF#000000##FFFFFF
##1F73161.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#096F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7316;
/* rgb */ color: rgb(31, 115, 22);
/* oklch */ color: oklch(48.7% 0.148 141.8);
Tailwind
colors: {
  custom: {
    50: '#699c5b',
    500: '#1f7316',
    950: '#000000',
  },
}
SCSS
$custom: #1f7316;
$custom-light: #699c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7316",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 114.194,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48744,
    "c": 0.14837,
    "h": 141.8
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#1F7316
secondary
#9E3CA9
accent
#3DEBDA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7316

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

Preview Lab → · Contrast checker → · Palette generator →

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