#1F5313#1F5313

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

Color values

HEX#1F5313
RGBrgb(31, 83, 19)
HSLhsl(109, 63%, 20%)
HSVhsv(109, 77%, 33%)
CMYKcmyk(62.7%, 0%, 77.1%, 67.5%)
CIE-LABlab(30.70, -30.68, 30.76)
CIE-LCHlch(30.70, 43.45, 134.93°)
OKLaboklab(39.24% -0.0841 0.0699)
OKLCHoklch(39.24% 0.109 140.3)
XYZxyz(3.7757, 6.5245, 1.6764)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5313 #471353
analogous
#3F5313 #1F5313 #135327
triadic
#1F5313 #131F53 #53131F
tetradic
#1F5313 #133F53 #471353 #532713
square
#1F5313 #133F53 #471353 #532713
split-complementary
#1F5313 #271353 #53133F
monochromatic
#091906 #0C2108 #1F5313 #32851E #44B72A

Accessibility & contrast

On white

9.11
#1F5313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1F5313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5313
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5313#FFFFFF#000000##FFFFFF
##1F53131.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B09
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#185046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f5313;
/* rgb */ color: rgb(31, 83, 19);
/* oklch */ color: oklch(39.2% 0.109 140.3);
Tailwind
colors: {
  custom: {
    50: '#628455',
    500: '#1f5313',
    950: '#000000',
  },
}
SCSS
$custom: #1f5313;
$custom-light: #628455;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5313",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 108.75,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.3924,
    "c": 0.10939,
    "h": 140.3
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#1F5313
secondary
#7B368B
accent
#42E6C7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1F5313

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

Preview Lab → · Contrast checker → · Palette generator →

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