#1F5311#1F5311

#1F5311 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.111 H 139.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#1F5311
RGBrgb(31, 83, 17)
HSLhsl(107, 66%, 20%)
HSVhsv(107, 80%, 33%)
CMYKcmyk(62.7%, 0%, 79.5%, 67.5%)
CIE-LABlab(30.68, -30.86, 31.60)
CIE-LCHlch(30.68, 44.17, 134.32°)
OKLaboklab(39.22% -0.0847 0.0714)
OKLCHoklch(39.22% 0.111 139.9)
XYZxyz(3.7593, 6.5180, 1.5902)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5311 #451153
analogous
#405311 #1F5311 #115324
triadic
#1F5311 #111F53 #53111F
tetradic
#1F5311 #114053 #451153 #532411
square
#1F5311 #114053 #451153 #532411
split-complementary
#1F5311 #241153 #531140
monochromatic
#091905 #0C2007 #1F5311 #32861B #45B926

Accessibility & contrast

On white

9.12
#1F5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1F5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5311
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5311#FFFFFF#000000##FFFFFF
##1F53111.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B06
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#195046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f5311;
/* rgb */ color: rgb(31, 83, 17);
/* oklch */ color: oklch(39.2% 0.111 139.9);
Tailwind
colors: {
  custom: {
    50: '#628454',
    500: '#1f5311',
    950: '#000000',
  },
}
SCSS
$custom: #1f5311;
$custom-light: #628454;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5311",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 107.273,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39222,
    "c": 0.1108,
    "h": 139.9
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#1F5311
secondary
#79348C
accent
#3FE9C5
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1F5311

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

Preview Lab → · Contrast checker → · Palette generator →

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