#1F5F10#1F5F10

#1F5F10 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.8% C 0.127 H 140.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#1F5F10
RGBrgb(31, 95, 16)
HSLhsl(109, 71%, 22%)
HSVhsv(109, 83%, 37%)
CMYKcmyk(67.4%, 0%, 83.2%, 62.7%)
CIE-LABlab(35.03, -35.77, 36.26)
CIE-LCHlch(35.03, 50.94, 134.61°)
OKLaboklab(42.81% -0.098 0.0809)
OKLCHoklch(42.81% 0.127 140.5)
XYZxyz(4.7506, 8.5127, 1.8829)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F10 #50105F
analogous
#475F10 #1F5F10 #105F29
triadic
#1F5F10 #101F5F #5F101F
tetradic
#1F5F10 #10475F #50105F #5F2910
square
#1F5F10 #10475F #50105F #5F2910
split-complementary
#1F5F10 #29105F #5F1047
monochromatic
#091A04 #0E2B07 #1F5F10 #309319 #41C822

Accessibility & contrast

On white

7.77
#1F5F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1F5F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5F10
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F10#FFFFFF#000000##FFFFFF
##1F5F101.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#155C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5f10;
/* rgb */ color: rgb(31, 95, 16);
/* oklch */ color: oklch(42.8% 0.127 140.5);
Tailwind
colors: {
  custom: {
    50: '#658d55',
    500: '#1f5f10',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f10;
$custom-light: #658d55;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f10",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 108.608,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42813,
    "c": 0.12714,
    "h": 140.5
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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