#1F5510#1F5510

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

Color values

HEX#1F5510
RGBrgb(31, 85, 16)
HSLhsl(107, 68%, 20%)
HSVhsv(107, 81%, 33%)
CMYKcmyk(63.5%, 0%, 81.2%, 66.7%)
CIE-LABlab(31.41, -31.78, 32.73)
CIE-LCHlch(31.41, 45.62, 134.16°)
OKLaboklab(39.82% -0.0873 0.0736)
OKLCHoklch(39.82% 0.114 139.9)
XYZxyz(3.9069, 6.8254, 1.6017)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5510 #461055
analogous
#415510 #1F5510 #105524
triadic
#1F5510 #101F55 #55101F
tetradic
#1F5510 #104155 #461055 #552410
square
#1F5510 #104155 #461055 #552410
split-complementary
#1F5510 #241055 #551041
monochromatic
#091A05 #0C2106 #1F5510 #32891A #45BC23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F5510#FFFFFF#000000##FFFFFF
##1F55101.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)
#584D03
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#185248
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f5510;
/* rgb */ color: rgb(31, 85, 16);
/* oklch */ color: oklch(39.8% 0.114 139.9);
Tailwind
colors: {
  custom: {
    50: '#628554',
    500: '#1f5510',
    950: '#000000',
  },
}
SCSS
$custom: #1f5510;
$custom-light: #628554;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5510",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 16
  },
  "hsl": {
    "h": 106.957,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39817,
    "c": 0.11416,
    "h": 139.9
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#1F5510
secondary
#7A328F
accent
#3DEBC5
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1F5510

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

Preview Lab → · Contrast checker → · Palette generator →

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