#1F6315#1F6315

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

Color values

HEX#1F6315
RGBrgb(31, 99, 21)
HSLhsl(112, 65%, 24%)
HSVhsv(112, 79%, 39%)
CMYKcmyk(68.7%, 0%, 78.8%, 61.2%)
CIE-LABlab(36.50, -36.93, 35.82)
CIE-LCHlch(36.50, 51.45, 135.87°)
OKLaboklab(44.04% -0.1009 0.0808)
OKLCHoklch(44.04% 0.129 141.3)
XYZxyz(5.1620, 9.2686, 2.2263)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6315 #591563
analogous
#466315 #1F6315 #156332
triadic
#1F6315 #151F63 #63151F
tetradic
#1F6315 #154663 #591563 #633215
square
#1F6315 #154663 #591563 #633215
split-complementary
#1F6315 #321563 #631546
monochromatic
#081905 #0F310A #1F6315 #2F9520 #3FC82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6315#FFFFFF#000000##FFFFFF
##1F63151.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)
#665906
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#136054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f6315;
/* rgb */ color: rgb(31, 99, 21);
/* oklch */ color: oklch(44.0% 0.129 141.3);
Tailwind
colors: {
  custom: {
    50: '#659058',
    500: '#1f6315',
    950: '#000000',
  },
}
SCSS
$custom: #1f6315;
$custom-light: #659058;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6315",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 112.308,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.12924,
    "h": 141.3
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#1F6315
secondary
#8E3A9A
accent
#40E8D2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #1F6315

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

Preview Lab → · Contrast checker → · Palette generator →

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