#1F5B10#1F5B10

#1F5B10 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.6% C 0.122 H 140.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#1F5B10
RGBrgb(31, 91, 16)
HSLhsl(108, 70%, 21%)
HSVhsv(108, 82%, 36%)
CMYKcmyk(65.9%, 0%, 82.4%, 64.3%)
CIE-LABlab(33.59, -34.20, 34.87)
CIE-LCHlch(33.59, 48.84, 134.45°)
OKLaboklab(41.62% -0.0938 0.078)
OKLCHoklch(41.62% 0.122 140.2)
XYZxyz(4.3995, 7.8105, 1.7658)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B10 #4C105B
analogous
#445B10 #1F5B10 #105B26
triadic
#1F5B10 #101F5B #5B101F
tetradic
#1F5B10 #10445B #4C105B #5B2610
square
#1F5B10 #10445B #4C105B #5B2610
split-complementary
#1F5B10 #26105B #5B1044
monochromatic
#091A05 #0D2707 #1F5B10 #318F19 #42C322

Accessibility & contrast

On white

8.20
#1F5B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1F5B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B10
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B10#FFFFFF#000000##FFFFFF
##1F5B101.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5201
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#16584D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5b10;
/* rgb */ color: rgb(31, 91, 16);
/* oklch */ color: oklch(41.6% 0.122 140.2);
Tailwind
colors: {
  custom: {
    50: '#648a55',
    500: '#1f5b10',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b10;
$custom-light: #648a55;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b10",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 108,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.12203,
    "h": 140.2
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#1F5B10
secondary
#813394
accent
#3BEDC9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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