#1F6010#1F6010

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

Color values

HEX#1F6010
RGBrgb(31, 96, 16)
HSLhsl(109, 71%, 22%)
HSVhsv(109, 83%, 38%)
CMYKcmyk(67.7%, 0%, 83.3%, 62.4%)
CIE-LABlab(35.39, -36.16, 36.61)
CIE-LCHlch(35.39, 51.45, 134.65°)
OKLaboklab(43.11% -0.0991 0.0817)
OKLCHoklch(43.11% 0.128 140.5)
XYZxyz(4.8412, 8.6940, 1.9131)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6010 #511060
analogous
#476010 #1F6010 #106029
triadic
#1F6010 #101F60 #60101F
tetradic
#1F6010 #104760 #511060 #602910
square
#1F6010 #104760 #511060 #602910
split-complementary
#1F6010 #291060 #601047
monochromatic
#081A04 #0E2C07 #1F6010 #309419 #41C921

Accessibility & contrast

On white

7.67
#1F6010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F6010
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6010#FFFFFF#000000##FFFFFF
##1F60101.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#155D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f6010;
/* rgb */ color: rgb(31, 96, 16);
/* oklch */ color: oklch(43.1% 0.128 140.5);
Tailwind
colors: {
  custom: {
    50: '#658e55',
    500: '#1f6010',
    950: '#000000',
  },
}
SCSS
$custom: #1f6010;
$custom-light: #658e55;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6010",
  "rgb": {
    "r": 31,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 108.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43111,
    "c": 0.1284,
    "h": 140.5
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#1F6010
secondary
#863399
accent
#3AEECC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F6010

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

Preview Lab → · Contrast checker → · Palette generator →

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