#1F5511#1F5511

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

Color values

HEX#1F5511
RGBrgb(31, 85, 17)
HSLhsl(108, 67%, 20%)
HSVhsv(108, 80%, 33%)
CMYKcmyk(63.5%, 0%, 80%, 66.7%)
CIE-LABlab(31.41, -31.70, 32.34)
CIE-LCHlch(31.41, 45.28, 134.43°)
OKLaboklab(39.83% -0.087 0.0729)
OKLCHoklch(39.83% 0.114 140)
XYZxyz(3.9146, 6.8284, 1.6419)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5511 #471155
analogous
#415511 #1F5511 #115525
triadic
#1F5511 #111F55 #55111F
tetradic
#1F5511 #114155 #471155 #552511
square
#1F5511 #114155 #471155 #552511
split-complementary
#1F5511 #251155 #551141
monochromatic
#091A05 #0C2207 #1F5511 #32881B #44BB25

Accessibility & contrast

On white

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

On black

2.37
#1F5511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F5511#FFFFFF#000000##FFFFFF
##1F55111.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f5511;
/* rgb */ color: rgb(31, 85, 17);
/* oklch */ color: oklch(39.8% 0.114 140.0);
Tailwind
colors: {
  custom: {
    50: '#628554',
    500: '#1f5511',
    950: '#000000',
  },
}
SCSS
$custom: #1f5511;
$custom-light: #628554;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5511",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 17
  },
  "hsl": {
    "h": 107.647,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.39825,
    "c": 0.1135,
    "h": 140
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#1F5511
secondary
#7C348E
accent
#3EEAC6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1F5511

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

Preview Lab → · Contrast checker → · Palette generator →

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