#1F5D0F#1F5D0F

#1F5D0F is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.2% C 0.125 H 140.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#1F5D0F
RGBrgb(31, 93, 15)
HSLhsl(108, 72%, 21%)
HSVhsv(108, 84%, 36%)
CMYKcmyk(66.7%, 0%, 83.9%, 63.5%)
CIE-LABlab(34.30, -35.06, 35.92)
CIE-LCHlch(34.30, 50.20, 134.31°)
OKLaboklab(42.21% -0.0962 0.0801)
OKLCHoklch(42.21% 0.125 140.2)
XYZxyz(4.5654, 8.1541, 1.7851)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D0F #4D0F5D
analogous
#465D0F #1F5D0F #0F5D26
triadic
#1F5D0F #0F1F5D #5D0F1F
tetradic
#1F5D0F #0F465D #4D0F5D #5D260F
square
#1F5D0F #0F465D #4D0F5D #5D260F
split-complementary
#1F5D0F #260F5D #5D0F46
monochromatic
#091A04 #0D2806 #1F5D0F #319217 #42C620

Accessibility & contrast

On white

7.98
#1F5D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1F5D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D0F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D0F#FFFFFF#000000##FFFFFF
##1F5D0F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#165A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5d0f;
/* rgb */ color: rgb(31, 93, 15);
/* oklch */ color: oklch(42.2% 0.125 140.2);
Tailwind
colors: {
  custom: {
    50: '#648c55',
    500: '#1f5d0f',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d0f;
$custom-light: #648c55;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d0f",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 107.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42209,
    "c": 0.12516,
    "h": 140.2
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#1F5D0F
secondary
#823196
accent
#39EFCA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F5D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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