#1F550F#1F550F

#1F550F is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.115 H 139.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#1F550F
RGBrgb(31, 85, 15)
HSLhsl(106, 70%, 20%)
HSVhsv(106, 82%, 33%)
CMYKcmyk(63.5%, 0%, 82.4%, 66.7%)
CIE-LABlab(31.40, -31.86, 33.11)
CIE-LCHlch(31.40, 45.95, 133.89°)
OKLaboklab(39.81% -0.0875 0.0742)
OKLCHoklch(39.81% 0.115 139.7)
XYZxyz(3.8996, 6.8224, 1.5632)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F550F #450F55
analogous
#42550F #1F550F #0F5522
triadic
#1F550F #0F1F55 #550F1F
tetradic
#1F550F #0F4255 #450F55 #55220F
square
#1F550F #0F4255 #450F55 #55220F
split-complementary
#1F550F #220F55 #550F42
monochromatic
#091A05 #0C2106 #1F550F #328918 #45BD21

Accessibility & contrast

On white

8.88
#1F550F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1F550F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F550F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F550F#FFFFFF#000000##FFFFFF
##1F550F1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#185248
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f550f;
/* rgb */ color: rgb(31, 85, 15);
/* oklch */ color: oklch(39.8% 0.115 139.7);
Tailwind
colors: {
  custom: {
    50: '#628553',
    500: '#1f550f',
    950: '#000000',
  },
}
SCSS
$custom: #1f550f;
$custom-light: #628553;
$custom-dark: #000000;
JSON
{
  "hex": "#1f550f",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 106.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39809,
    "c": 0.11478,
    "h": 139.7
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#1F550F
secondary
#79318F
accent
#3BEDC4
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1F550F

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

Preview Lab → · Contrast checker → · Palette generator →

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