#1F5611#1F5611

#1F5611 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.115 H 140.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#1F5611
RGBrgb(31, 86, 17)
HSLhsl(108, 67%, 20%)
HSVhsv(108, 80%, 34%)
CMYKcmyk(64%, 0%, 80.2%, 66.3%)
CIE-LABlab(31.78, -32.11, 32.70)
CIE-LCHlch(31.78, 45.83, 134.48°)
OKLaboklab(40.13% -0.0881 0.0737)
OKLCHoklch(40.13% 0.115 140.1)
XYZxyz(3.9939, 6.9870, 1.6684)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5611 #481156
analogous
#415611 #1F5611 #115625
triadic
#1F5611 #111F56 #56111F
tetradic
#1F5611 #114156 #481156 #562511
square
#1F5611 #114156 #481156 #562511
split-complementary
#1F5611 #251156 #561141
monochromatic
#091A05 #0D2307 #1F5611 #31891B #44BC25

Accessibility & contrast

On white

8.76
#1F5611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1F5611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5611
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5611#FFFFFF#000000##FFFFFF
##1F56111.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#185349
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f5611;
/* rgb */ color: rgb(31, 86, 17);
/* oklch */ color: oklch(40.1% 0.115 140.1);
Tailwind
colors: {
  custom: {
    50: '#628654',
    500: '#1f5611',
    950: '#000000',
  },
}
SCSS
$custom: #1f5611;
$custom-light: #628654;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5611",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 107.826,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40126,
    "c": 0.11484,
    "h": 140.1
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#1F5611
secondary
#7D348F
accent
#3EEAC7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1F5611

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

Preview Lab → · Contrast checker → · Palette generator →

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