#1F500F#1F500F

#1F500F is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.108 H 139.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#1F500F
RGBrgb(31, 80, 15)
HSLhsl(105, 68%, 19%)
HSVhsv(105, 81%, 31%)
CMYKcmyk(61.2%, 0%, 81.3%, 68.6%)
CIE-LABlab(29.57, -29.76, 31.31)
CIE-LCHlch(29.57, 43.20, 133.55°)
OKLaboklab(38.3% -0.0819 0.0705)
OKLCHoklch(38.3% 0.108 139.3)
XYZxyz(3.5198, 6.0628, 1.4366)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F500F #400F50
analogous
#3F500F #1F500F #0F501F
triadic
#1F500F #0F1F50 #500F1F
tetradic
#1F500F #0F3F50 #400F50 #501F0F
square
#1F500F #0F3F50 #400F50 #501F0F
split-complementary
#1F500F #1F0F50 #500F3F
monochromatic
#0A1A05 #0B1C05 #1F500F #338419 #47B722

Accessibility & contrast

On white

9.49
#1F500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1F500F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F500F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F500F#FFFFFF#000000##FFFFFF
##1F500F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534804
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#1A4D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f500f;
/* rgb */ color: rgb(31, 80, 15);
/* oklch */ color: oklch(38.3% 0.108 139.3);
Tailwind
colors: {
  custom: {
    50: '#618252',
    500: '#1f500f',
    950: '#000000',
  },
}
SCSS
$custom: #1f500f;
$custom-light: #618252;
$custom-dark: #000000;
JSON
{
  "hex": "#1f500f",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 105.231,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38299,
    "c": 0.10805,
    "h": 139.3
  },
  "luminance": 0.06063
}

Semantic roles & 50–950 ramp

primary
#1F500F
secondary
#74318A
accent
#3DEBC0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #1F500F

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

Preview Lab → · Contrast checker → · Palette generator →

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