#1F5113#1F5113

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

Color values

HEX#1F5113
RGBrgb(31, 81, 19)
HSLhsl(108, 62%, 20%)
HSVhsv(108, 77%, 32%)
CMYKcmyk(61.7%, 0%, 76.5%, 68.2%)
CIE-LABlab(29.97, -29.84, 30.00)
CIE-LCHlch(29.97, 42.31, 134.84°)
OKLaboklab(38.64% -0.0818 0.0683)
OKLCHoklch(38.64% 0.107 140.1)
XYZxyz(3.6249, 6.2229, 1.6261)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5113 #451351
analogous
#3E5113 #1F5113 #135126
triadic
#1F5113 #131F51 #51131F
tetradic
#1F5113 #133E51 #451351 #512613
square
#1F5113 #133E51 #451351 #512613
split-complementary
#1F5113 #261351 #51133E
monochromatic
#091906 #0C1F07 #1F5113 #32831F #45B42A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F5113#FFFFFF#000000##FFFFFF
##1F51131.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)
#534909
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#194E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f5113;
/* rgb */ color: rgb(31, 81, 19);
/* oklch */ color: oklch(38.6% 0.107 140.1);
Tailwind
colors: {
  custom: {
    50: '#618255',
    500: '#1f5113',
    950: '#000000',
  },
}
SCSS
$custom: #1f5113;
$custom-light: #618255;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5113",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 108.387,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.10661,
    "h": 140.1
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

primary
#1F5113
secondary
#79368A
accent
#43E5C6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #1F5113

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

Preview Lab → · Contrast checker → · Palette generator →

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