#1F5111#1F5111

#1F5111 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.108 H 139.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#1F5111
RGBrgb(31, 81, 17)
HSLhsl(107, 65%, 19%)
HSVhsv(107, 79%, 32%)
CMYKcmyk(61.7%, 0%, 79%, 68.2%)
CIE-LABlab(29.95, -30.02, 30.86)
CIE-LCHlch(29.95, 43.05, 134.21°)
OKLaboklab(38.62% -0.0825 0.0698)
OKLCHoklch(38.62% 0.108 139.7)
XYZxyz(3.6085, 6.2163, 1.5399)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5111 #431151
analogous
#3F5111 #1F5111 #115123
triadic
#1F5111 #111F51 #51111F
tetradic
#1F5111 #113F51 #431151 #512311
square
#1F5111 #113F51 #431151 #512311
split-complementary
#1F5111 #231151 #51113F
monochromatic
#0A1905 #0C1E06 #1F5111 #32841C #46B626

Accessibility & contrast

On white

9.36
#1F5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1F5111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5111
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5111#FFFFFF#000000##FFFFFF
##1F51111.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534906
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#194E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f5111;
/* rgb */ color: rgb(31, 81, 17);
/* oklch */ color: oklch(38.6% 0.108 139.7);
Tailwind
colors: {
  custom: {
    50: '#618254',
    500: '#1f5111',
    950: '#000000',
  },
}
SCSS
$custom: #1f5111;
$custom-light: #618254;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5111",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 106.875,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38618,
    "c": 0.10806,
    "h": 139.7
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#1F5111
secondary
#77348A
accent
#40E8C3
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #1F5111

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

Preview Lab → · Contrast checker → · Palette generator →

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