#1F6015#1F6015

#1F6015 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.1% C 0.125 H 141.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#1F6015
RGBrgb(31, 96, 21)
HSLhsl(112, 64%, 23%)
HSVhsv(112, 78%, 38%)
CMYKcmyk(67.7%, 0%, 78.1%, 62.4%)
CIE-LABlab(35.42, -35.77, 34.74)
CIE-LCHlch(35.42, 49.86, 135.83°)
OKLaboklab(43.15% -0.0977 0.0785)
OKLCHoklch(43.15% 0.125 141.2)
XYZxyz(4.8831, 8.7107, 2.1333)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6015 #561560
analogous
#446015 #1F6015 #156030
triadic
#1F6015 #151F60 #60151F
tetradic
#1F6015 #154460 #561560 #603015
square
#1F6015 #154460 #561560 #603015
split-complementary
#1F6015 #301560 #601544
monochromatic
#081905 #0F2E0A #1F6015 #2F9220 #3FC42B

Accessibility & contrast

On white

7.66
#1F6015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1F6015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6015
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6015#FFFFFF#000000##FFFFFF
##1F60151.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635707
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#145D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f6015;
/* rgb */ color: rgb(31, 96, 21);
/* oklch */ color: oklch(43.1% 0.125 141.2);
Tailwind
colors: {
  custom: {
    50: '#648e58',
    500: '#1f6015',
    950: '#000000',
  },
}
SCSS
$custom: #1f6015;
$custom-light: #648e58;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6015",
  "rgb": {
    "r": 31,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 112,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43148,
    "c": 0.12538,
    "h": 141.2
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

primary
#1F6015
secondary
#8B3A97
accent
#41E7D1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F6015

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

Preview Lab → · Contrast checker → · Palette generator →

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