#1F6515#1F6515

#1F6515 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.6% C 0.132 H 141.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#1F6515
RGBrgb(31, 101, 21)
HSLhsl(113, 66%, 24%)
HSVhsv(113, 79%, 40%)
CMYKcmyk(69.3%, 0%, 79.2%, 60.4%)
CIE-LABlab(37.21, -37.69, 36.53)
CIE-LCHlch(37.21, 52.49, 135.89°)
OKLaboklab(44.63% -0.1029 0.0823)
OKLCHoklch(44.63% 0.132 141.4)
XYZxyz(5.3538, 9.6523, 2.2903)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6515 #5B1565
analogous
#476515 #1F6515 #156533
triadic
#1F6515 #151F65 #65151F
tetradic
#1F6515 #154765 #5B1565 #653315
square
#1F6515 #154765 #5B1565 #653315
split-complementary
#1F6515 #331565 #651547
monochromatic
#081905 #0F320A #1F6515 #2F9820 #3ECA2A

Accessibility & contrast

On white

7.17
#1F6515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1F6515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6515
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6515#FFFFFF#000000##FFFFFF
##1F65151.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B05
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#126256
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f6515;
/* rgb */ color: rgb(31, 101, 21);
/* oklch */ color: oklch(44.6% 0.132 141.4);
Tailwind
colors: {
  custom: {
    50: '#669259',
    500: '#1f6515',
    950: '#000000',
  },
}
SCSS
$custom: #1f6515;
$custom-light: #669259;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6515",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 112.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.13178,
    "h": 141.4
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#1F6515
secondary
#903A9C
accent
#3FE9D3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6515

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

Preview Lab → · Contrast checker → · Palette generator →

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