#1F5310#1F5310

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

Color values

HEX#1F5310
RGBrgb(31, 83, 16)
HSLhsl(107, 68%, 19%)
HSVhsv(107, 81%, 33%)
CMYKcmyk(62.7%, 0%, 80.7%, 67.5%)
CIE-LABlab(30.68, -30.95, 32.01)
CIE-LCHlch(30.68, 44.52, 134.04°)
OKLaboklab(39.21% -0.085 0.0721)
OKLCHoklch(39.21% 0.111 139.7)
XYZxyz(3.7517, 6.5149, 1.5499)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5310 #441053
analogous
#415310 #1F5310 #105323
triadic
#1F5310 #101F53 #53101F
tetradic
#1F5310 #104153 #441053 #532310
square
#1F5310 #104153 #441053 #532310
split-complementary
#1F5310 #231053 #531041
monochromatic
#0A1A05 #0C2006 #1F5310 #32861A #45BA24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F5310#FFFFFF#000000##FFFFFF
##1F53101.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)
#564B04
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#195046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f5310;
/* rgb */ color: rgb(31, 83, 16);
/* oklch */ color: oklch(39.2% 0.111 139.7);
Tailwind
colors: {
  custom: {
    50: '#628453',
    500: '#1f5310',
    950: '#000000',
  },
}
SCSS
$custom: #1f5310;
$custom-light: #628453;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5310",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 106.567,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39214,
    "c": 0.11147,
    "h": 139.7
  },
  "luminance": 0.06515
}

Semantic roles & 50–950 ramp

primary
#1F5310
secondary
#78328D
accent
#3DEBC4
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1F5310

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

Preview Lab → · Contrast checker → · Palette generator →

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