#1F8310#1F8310

#1F8310 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.3% C 0.169 H 141.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F8310
RGBrgb(31, 131, 16)
HSLhsl(112, 78%, 29%)
HSVhsv(112, 88%, 51%)
CMYKcmyk(76.3%, 0%, 87.8%, 48.6%)
CIE-LABlab(47.70, -48.60, 47.95)
CIE-LCHlch(47.70, 68.27, 135.38°)
OKLaboklab(53.33% -0.1326 0.1054)
OKLCHoklch(53.33% 0.169 141.5)
XYZxyz(8.7744, 16.5603, 3.2241)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8310 #741083
analogous
#598310 #1F8310 #10833B
triadic
#1F8310 #101F83 #83101F
tetradic
#1F8310 #105983 #741083 #833B10
square
#1F8310 #105983 #741083 #833B10
split-complementary
#1F8310 #3B1083 #831059
monochromatic
#061B03 #124C09 #1F8310 #2CBA17 #41E529

Accessibility & contrast

On white

4.87
#1F8310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1F8310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8310
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8310#FFFFFF#000000##FFFFFF
##1F83101.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8310;
/* rgb */ color: rgb(31, 131, 16);
/* oklch */ color: oklch(53.3% 0.169 141.5);
Tailwind
colors: {
  custom: {
    50: '#6da85b',
    500: '#1f8310',
    950: '#000000',
  },
}
SCSS
$custom: #1f8310;
$custom-light: #6da85b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8310",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 112.174,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.1694,
    "h": 141.5
  },
  "luminance": 0.16561
}

Semantic roles & 50–950 ramp

primary
#1F8310
secondary
#A836B9
accent
#33F5DB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#081004
muted
#7B7F79

Preview Lab

Preview with #1F8310

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

Preview Lab → · Contrast checker → · Palette generator →

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