#1F6313#1F6313

#1F6313 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.0% C 0.130 H 141.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#1F6313
RGBrgb(31, 99, 19)
HSLhsl(111, 68%, 23%)
HSVhsv(111, 81%, 39%)
CMYKcmyk(68.7%, 0%, 80.8%, 61.2%)
CIE-LABlab(36.48, -37.09, 36.58)
CIE-LCHlch(36.48, 52.09, 135.40°)
OKLaboklab(44.02% -0.1014 0.0821)
OKLCHoklch(44.02% 0.13 141)
XYZxyz(5.1442, 9.2615, 2.1325)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6313 #571363
analogous
#476313 #1F6313 #13632F
triadic
#1F6313 #131F63 #63131F
tetradic
#1F6313 #134763 #571363 #632F13
square
#1F6313 #134763 #571363 #632F13
split-complementary
#1F6313 #2F1363 #631347
monochromatic
#081A05 #0F3009 #1F6313 #2F961D #3FCA27

Accessibility & contrast

On white

7.36
#1F6313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1F6313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6313
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6313#FFFFFF#000000##FFFFFF
##1F63131.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665903
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#136054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f6313;
/* rgb */ color: rgb(31, 99, 19);
/* oklch */ color: oklch(44.0% 0.130 141.0);
Tailwind
colors: {
  custom: {
    50: '#659057',
    500: '#1f6313',
    950: '#000000',
  },
}
SCSS
$custom: #1f6313;
$custom-light: #659057;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6313",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 111,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44023,
    "c": 0.13047,
    "h": 141
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#1F6313
secondary
#8C379B
accent
#3DEBD1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F6313

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

Preview Lab → · Contrast checker → · Palette generator →

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