#1F500E#1F500E

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

Color values

HEX#1F500E
RGBrgb(31, 80, 14)
HSLhsl(105, 70%, 18%)
HSVhsv(105, 83%, 31%)
CMYKcmyk(61.2%, 0%, 82.5%, 68.6%)
CIE-LABlab(29.56, -29.84, 31.70)
CIE-LCHlch(29.56, 43.54, 133.27°)
OKLaboklab(38.29% -0.0822 0.0711)
OKLCHoklch(38.29% 0.109 139.1)
XYZxyz(3.5129, 6.0600, 1.4000)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F500E #3F0E50
analogous
#40500E #1F500E #0E501E
triadic
#1F500E #0E1F50 #500E1F
tetradic
#1F500E #0E4050 #3F0E50 #501E0E
square
#1F500E #0E4050 #3F0E50 #501E0E
split-complementary
#1F500E #1E0E50 #500E40
monochromatic
#0A1A05 #0B1C05 #1F500E #338417 #47B820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F500E#FFFFFF#000000##FFFFFF
##1F500E1.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)
#534802
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#1A4D43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f500e;
/* rgb */ color: rgb(31, 80, 14);
/* oklch */ color: oklch(38.3% 0.109 139.1);
Tailwind
colors: {
  custom: {
    50: '#618252',
    500: '#1f500e',
    950: '#000000',
  },
}
SCSS
$custom: #1f500e;
$custom-light: #618252;
$custom-dark: #000000;
JSON
{
  "hex": "#1f500e",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 104.545,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38291,
    "c": 0.10869,
    "h": 139.1
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#1F500E
secondary
#732F8B
accent
#3BEDBF
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #1F500E

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

Preview Lab → · Contrast checker → · Palette generator →

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