#1F5D10#1F5D10

#1F5D10 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.2% C 0.125 H 140.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#1F5D10
RGBrgb(31, 93, 16)
HSLhsl(108, 71%, 21%)
HSVhsv(108, 83%, 36%)
CMYKcmyk(66.7%, 0%, 82.8%, 63.5%)
CIE-LABlab(34.31, -34.99, 35.57)
CIE-LCHlch(34.31, 49.90, 134.53°)
OKLaboklab(42.22% -0.0959 0.0795)
OKLCHoklch(42.22% 0.125 140.4)
XYZxyz(4.5727, 8.1570, 1.8236)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D10 #4E105D
analogous
#465D10 #1F5D10 #105D28
triadic
#1F5D10 #101F5D #5D101F
tetradic
#1F5D10 #10465D #4E105D #5D2810
square
#1F5D10 #10465D #4E105D #5D2810
split-complementary
#1F5D10 #28105D #5D1046
monochromatic
#091A04 #0E2907 #1F5D10 #309119 #42C522

Accessibility & contrast

On white

7.98
#1F5D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1F5D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D10
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D10#FFFFFF#000000##FFFFFF
##1F5D101.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#165A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5d10;
/* rgb */ color: rgb(31, 93, 16);
/* oklch */ color: oklch(42.2% 0.125 140.4);
Tailwind
colors: {
  custom: {
    50: '#648c55',
    500: '#1f5d10',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d10;
$custom-light: #648c55;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d10",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 108.312,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.1246,
    "h": 140.4
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#1F5D10
secondary
#833396
accent
#3AEDCB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F5D10

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

Preview Lab → · Contrast checker → · Palette generator →

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