#1F500D#1F500D

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

Color values

HEX#1F500D
RGBrgb(31, 80, 13)
HSLhsl(104, 72%, 18%)
HSVhsv(104, 84%, 31%)
CMYKcmyk(61.2%, 0%, 83.7%, 68.6%)
CIE-LABlab(29.56, -29.92, 32.08)
CIE-LCHlch(29.56, 43.87, 133.00°)
OKLaboklab(38.28% -0.0825 0.0718)
OKLCHoklch(38.28% 0.109 139)
XYZxyz(3.5062, 6.0574, 1.3651)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F500D #3E0D50
analogous
#40500D #1F500D #0D501C
triadic
#1F500D #0D1F50 #500D1F
tetradic
#1F500D #0D4050 #3E0D50 #501C0D
square
#1F500D #0D4050 #3E0D50 #501C0D
split-complementary
#1F500D #1C0D50 #500D40
monochromatic
#0A1A04 #0B1B04 #1F500D #338516 #48B91E

Accessibility & contrast

On white

9.50
#1F500D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F500D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F500D#FFFFFF#000000##FFFFFF
##1F500D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534801
Deuteranopia (green-blind)
#4C4414
Tritanopia (blue-blind)
#1A4D43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f500d;
/* rgb */ color: rgb(31, 80, 13);
/* oklch */ color: oklch(38.3% 0.109 139.0);
Tailwind
colors: {
  custom: {
    50: '#618251',
    500: '#1f500d',
    950: '#000000',
  },
}
SCSS
$custom: #1f500d;
$custom-light: #618251;
$custom-dark: #000000;
JSON
{
  "hex": "#1f500d",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 103.881,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38283,
    "c": 0.10931,
    "h": 139
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#1F500D
secondary
#722E8B
accent
#39EFBE
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #1F500D

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

Preview Lab → · Contrast checker → · Palette generator →

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